Make object move randomly within a given area

Typically: "How do I... ", "How can I... " questions
Post Reply
BiancaSan93
Posts: 23
Joined: 25 Apr 2017, 17:26

Make object move randomly within a given area

Post by BiancaSan93 » 07 Sep 2018, 14:29

Hi,
I need to reproduce the random motion of a sphere within an horizontal square area. Are there any ready methods to use? If not, what is the best way to achieve this?
Thanks in advance

fferri
Posts: 246
Joined: 09 Sep 2013, 19:28

Re: Make object move randomly within a given area

Post by fferri » 08 Sep 2018, 13:43

Probably sim.addForce if the object is dynamic.

Post Reply