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