Skip to content
This repository has been archived by the owner on Jun 16, 2023. It is now read-only.

Gestures #51

Answered by rezaali
memetsumer asked this question in Q&A
Dec 5, 2022 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

@memetsumer thank you! So if you want an object to be draggable when you tap and drag it you can raycast the scene (Object) recursively and see what you hit. If you hit the object you're interested in then you can either move the object or camera, etc. check out Raycast.swift to see how to raycast a scene.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@memetsumer
Comment options

Answer selected by rezaali
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants