From d34db618a372cab8923806354a274709a298ae0e Mon Sep 17 00:00:00 2001 From: Stephen Gold Date: Sun, 5 Jan 2025 14:17:46 -0800 Subject: [PATCH] Body.cpp: correct a typo in a diagnostic message (#1439) --- Jolt/Physics/Body/Body.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jolt/Physics/Body/Body.cpp b/Jolt/Physics/Body/Body.cpp index 4386ec2db..e5969eed8 100644 --- a/Jolt/Physics/Body/Body.cpp +++ b/Jolt/Physics/Body/Body.cpp @@ -39,7 +39,7 @@ void Body::SetMotionType(EMotionType inMotionType) if (mMotionType == inMotionType) return; - JPH_ASSERT(inMotionType == EMotionType::Static || mMotionProperties != nullptr, "Body needs to be created with mAllowDynamicOrKinematic set tot true"); + JPH_ASSERT(inMotionType == EMotionType::Static || mMotionProperties != nullptr, "Body needs to be created with mAllowDynamicOrKinematic set to true"); JPH_ASSERT(inMotionType != EMotionType::Static || !IsActive(), "Deactivate body first"); JPH_ASSERT(inMotionType == EMotionType::Dynamic || !IsSoftBody(), "Soft bodies can only be dynamic, you can make individual vertices kinematic by setting their inverse mass to 0");