Categories
How to snap an object to the camera corner?
I have a 3D project in which I need to snap a cube to the camera corner so that at any screen resolution it will always be on the left. Can you please tell me how this can be implemented?
Answer the question
In order to leave comments, you need to log in
Launching a beam from the camera Place a cube on this beam
cub.transform.position = camera.transform.position + ray.direction * 5;
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question