Question by
Max-Dep · Dec 06, 2015 at 02:57 PM ·
camerajavascriptmoveraycasthit
How can I make an object move towards the camera when it's being looked at and go back to its original position when it's not longer being looked at?
I know it sounds simple but I can't figure out how to do that using raycast.
Comment
Your answer
Follow this Question
Related Questions
Why the decimals change when I move away from the object? 0 Answers
Custom Camera Script Toggle Enabled / Disabled 2 Answers
Rotate Camera only Horizontal? 1 Answer
Multiplayer Question 1 Answer