- Home /
How to examine an object?
Hello, I was following this youtube tutorial: https://www.youtube.com/watch?v=au3GrDuJaEw&t=1791s
Everything is great except, my camera is always following where my mouse goes so during the whole examination thing, it could'nt stay still. is there a way to lock the camera during an object examination?Can someone help me out with this? thank you so much!
I would use a raycast to detect you are looking at the object, have it trigger the cursor/camera to the center of the object and trigger either a timer countdown that sets a bool that locks out cursor movement or a bool that waits for a keypress before restoring control.
Your answer
![](https://koobas.hobune.stream/wayback/20220613033532im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Camera that follows rotating object with mouse input 0 Answers
Object not set to a instance of a object 1 Answer
Camera returns to starting position after playing animation 2 Answers
Problem with the camera, 2D. 0 Answers
How to adjust camera position/rotation when player looks up or down? (Third Person Camera) 1 Answer