- Home /
Can someone help me?
Hello, So I want to do something that will move my platform in forward on random position of Y axis and +5 of x axis when the player pass though object.. And i really don't know how would i do that. Can some one give me any kind of hint please? :)
Answer by Kiwasi · Jun 09, 2014 at 10:21 AM
Yes there are plenty of people on UA who can help you.
Hints:
Use OnTriggerEnter. Attach a trigger to the object your player is meant to pass through.
Use Random.Range to get a random float
Set transform.position to move your object
Yes i guess there are but for now noone helped me :ss okey thatnks for that i will try and post here :)
Your answer
Follow this Question
Related Questions
move object help [beginner] 1 Answer
How to update a script to a network script 1 Answer
How to do that? 0 Answers
Disable objects far away from player to make performance better 2 Answers
destroy object on collision 1 Answer