25-08-2021, 12:59 AM
(24-08-2021, 04:44 PM)josemendez Wrote: Hi,Was it a Unity bug!
This is a known bug in Unity: setting the velocity of an object will keep it awake, even if the change in velocity is zero. Internally, Obi sets the velocity of all objects involved in the simulation, preventing them from sleeping.
A hacky workaround to this is to modify the UpdateVelocities method in ObiRigidbody.cs, to check if the velocity change is very small and then avoid modifying it:
I will refer to your advice.
Thank you very much.