|
@@ -692,5 +692,5 @@ void CharacterBaseTest::DrawCharacterState(const CharacterBase *inCharacter, RMa
|
|
|
const PhysicsMaterial *ground_material = inCharacter->GetGroundMaterial();
|
|
|
Vec3 horizontal_velocity = inCharacterVelocity;
|
|
|
horizontal_velocity.SetY(0);
|
|
|
- mDebugRenderer->DrawText3D(inCharacterTransform.GetTranslation(), StringFormat("Mat: %s\nHorizontal Vel: %.1f m/s\nVertical Vel: %.1f m/s", ground_material->GetDebugName(), (double)horizontal_velocity.Length(), (double)inCharacterVelocity.GetY()), color, 0.25f);
|
|
|
+ mDebugRenderer->DrawText3D(inCharacterTransform.GetTranslation(), StringFormat("State: %s\nMat: %s\nHorizontal Vel: %.1f m/s\nVertical Vel: %.1f m/s", CharacterBase::sToString(ground_state), ground_material->GetDebugName(), (double)horizontal_velocity.Length(), (double)inCharacterVelocity.GetY()), color, 0.25f);
|
|
|
}
|