- Home /
This post has been wikified, any user with enough reputation can edit it.
Question by
Tamaleh · May 12, 2014 at 01:59 AM ·
objectfirst-person-controller
Make Object Disappear when no longer in frame
I want to start a game off by having a certain object in sight, i.e. a cube
, and when the first person player looks away, the object is moved somewhere else in the map, is this possible and how would I do it?
Comment
Best Answer
Answer by getyour411 · May 12, 2014 at 02:00 AM
Look at OnBecameInvisible, Raycast and transform.position
Your answer
![](https://koobas.hobune.stream/wayback/20220613144827im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How can i make an igniter that ignite objects? 1 Answer
Amnesia style 1 Answer
Problem with Null Reference Exeption??:/ 1 Answer
Object Multiplier Script and button 1 Answer
Getting error BCE0024, while the constructor exists 1 Answer