bevy_rapier icon indicating copy to clipboard operation
bevy_rapier copied to clipboard

How to update time_since_can_sleep in RigidBodyActivation?

Open foxzool opened this issue 3 years ago • 1 comments

default_time_until_sleep() 2.0 is too long , I need to set it to more shorter.

foxzool avatar Jan 28 '23 10:01 foxzool

You can modify time_until_sleep through activation_mut, but it's per entity.

I'm keeping this open because it's not trivial to discover, and we could provide a way to change the default.

ThierryBerger avatar May 24 '24 08:05 ThierryBerger