JoltPhysics3D/JoltRigidBody3D: Fix IsSleeping
This commit is contained in:
parent
e8c594e325
commit
f7f31431cb
|
|
@ -166,7 +166,7 @@ namespace Nz
|
||||||
|
|
||||||
bool JoltRigidBody3D::IsSleeping() const
|
bool JoltRigidBody3D::IsSleeping() const
|
||||||
{
|
{
|
||||||
return m_body->IsActive();
|
return !m_body->IsActive();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool JoltRigidBody3D::IsSleepingEnabled() const
|
bool JoltRigidBody3D::IsSleepingEnabled() const
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue