Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Apply random movement on scene start.
#4
(23-04-2020, 04:09 PM)arpan018 Wrote: My rope is affected by gravity so on start applying rotation wont do anything.

I meant before placing the rope under a solver, after you start the simulation rotation won't do anything indeed. If you start the scene with everything already under a solver it will start simulating immediately.

Using rigidbody.AddForce on a rope won't do anything, as Obi does not use rigidbodies at all, that's the whole point of a particle based engine. You'll need to apply forces to the particles themselves, see:

http://obi.virtualmethodstudio.com/tutor...icles.html

So simplest thing you could do is set initial velocities for all particles in each rope.
Reply


Messages In This Thread
RE: Apply random movement on scene start. - by josemendez - 23-04-2020, 04:25 PM