Hey guys,
I am working on an android project…I want to find the x,y and z coordinates of the position of touch of a .obj object …How do i do it?
Hi!
The general idea is to cast a ray from the camera coordinate into the scene, the ray will then possibly hit objects that have colliders attached. You can also fine tune the raycast by using layer masks.
once you get a result from your raycast you can inspect it for coordinates etc.
should be fairly well covered in the docs, but i guess the key word is “raycast”
hey,
Thanx!!!Let me jus try it out!!