diff --git a/Runtime/CPhysicsActor.hpp b/Runtime/CPhysicsActor.hpp index d0429f3c0..326f81f96 100644 --- a/Runtime/CPhysicsActor.hpp +++ b/Runtime/CPhysicsActor.hpp @@ -92,12 +92,13 @@ public: Zeus::CTransform GetPrimitiveTransform() { + return Zeus::CTransform; } const CCollisionPrimitive& GetCollisionPrimitive() const { return x1b0_collisionPrimitive; } - void SetInterialTensorScalar(float tensor) + void SetInertiaTensorScalar(float tensor) { if (tensor <= 0.0f) tensor = 1.0f; @@ -113,7 +114,7 @@ public: tensor = 1.0f / mass; xdc_massRecip = tensor; - SetInterialTensorScalar(mass * tensor); + SetInertiaTensorScalar(mass * tensor); } };