It seems that WakeUp doesnt inmediatly work, you have to wait to the next FixedUpdate for the rigidbody to return false in IsSleeping.
mObject.rigidbody.WakeUp();
if (mObject.rigidbody.IsSleeping())
Debug.Log(“Nooooo”); // It actually logs this
Is this as intended? I am asking this because I have a terrible bug that I have tracked down here, and I want to confirm.
More concretely, my problem is that in the Update method I am asking if the gameObject is sleeping… even if I have waken it up, it will return true until the next FixedUpdate.