Placing rigidbodies

Hi all,

whenever I place rigidbodies (e.g. a pile of crates) and start the scene, they move slightly until they finally fall asleep. It’s cumbersome work to place them so that nearly no change is visible for the player, particulary if I place them on uneven ground etc.

Ideally, I would like to place them, start the scene, let them come to rest and copy their state. How do you deal with rigidbodies in your scenes to avoid such problems? Is there any nice workaround?

Cheers
hd

Read up on RigidbodySleeping. Especially the part about ridigbody.sleep().

Another solution is to use TransformSaver from the wiki to “preset” the objects (at least that’s what the description claims :)).

I haven’t actually used any of the above solutions yet, but they should work out for you just fine…

Thanks mate, I tried the TransformSaver and it worked great. There’s no visible movement now anymore.

Cheers
hd