Closed Netzwerk2 closed 2 years ago
Hi! This is the expected behavior caused by the automatic sleeping system. If a rigid-body moves slowly during some period of time, it will be stopped and "put to sleep" (i.e. stop being simulated until it is moved again or hits something) to save computation times.
You can increase the movement threshold for that sleeping system by inserting the Sleeping
component (to the same entity as the rigid-body) with custom threshold values; your you can disable sleeping altogether for that rigid-body.
That explains it. Thank you!
When applying a small velocity to a rigid body, it will stop moving after a few seconds (the same happens with rotation). Here's a minimal example to reproduce