diff --git a/src/Nazara/JoltPhysics3D/JoltCharacter.cpp b/src/Nazara/JoltPhysics3D/JoltCharacter.cpp index 140d63dea..fe4365e27 100644 --- a/src/Nazara/JoltPhysics3D/JoltCharacter.cpp +++ b/src/Nazara/JoltPhysics3D/JoltCharacter.cpp @@ -83,7 +83,7 @@ namespace Nz bool JoltCharacter::IsOnGround() const { - return m_character->IsSupported(); + return m_character->GetGroundState() == JPH::Character::EGroundState::OnGround; } void JoltCharacter::SetFriction(float friction)