Question by
Coding4Days · Dec 07, 2016 at 09:16 AM ·
movementdirectionrolling
Random.Range change movement direction every 3 seconds
I am building a ball rolling game where the ball changes direction of movement every few seconds using Random.Range, but I don't know how to go about having it change the direction every few seconds, can someone help me?
Also, the ball won't roll, either and maxAngularVelocity doesn't seem to work or I'm using it wrong, please help me with this, too, if can.
Thanks
Comment
Your answer
Follow this Question
Related Questions
How can I incorporate a Rotation Towards the Mouse Position into this Script? I Tried. 0 Answers
How do I rotate my object back to the world's up direction whilst keeping it's forward direction? 0 Answers
Virtual camera odd behaviour. Scriptting noob questions 0 Answers