mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-13 13:20:07 +00:00
fix rigidbody activation
This commit is contained in:
parent
8a3e2e9fa6
commit
b37448278a
@ -9045,6 +9045,7 @@ bool PhysicsServerCommandProcessor::processChangeDynamicsInfoCommand(const struc
|
||||
if (clientCmd.m_changeDynamicsInfoArgs.m_activationState & eActivationStateWakeUp)
|
||||
{
|
||||
rb->forceActivationState(ACTIVE_TAG);
|
||||
rb->setDeactivationTime(0.0);
|
||||
}
|
||||
if (clientCmd.m_changeDynamicsInfoArgs.m_activationState & eActivationStateSleep)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user