- Home /
Make object follow player on trigger
hi, i've been trying to figure out how to make an object follow the player on trigger. I've looked at and tried to study the follow script that's used alot which is
and i've tried to add my own bits and edit the script and created this:
and if you can see from what I tried to do, I wanted the object to stop following the player after the player has left the trigger zone. I know I didn't include it in the script shown but once the player leaves the trigger zone it will delete both the object and trigger zone and will be placed randomly around the map. I have no idea how to accomplish that.... Willing to provide more details
[1]: http://pastebin.com/qLcHc3Xj
Your answer
Follow this Question
Related Questions
Moving while facing the camera 0 Answers
Moving forward towards the cursor with LookAtMouse? 0 Answers
"Chasing" object around a sphere 0 Answers
CameraZoom Changeing Position 0 Answers