Skip to content

Commit

Permalink
Update comment in Ragdoll::DriveToPoseUsingMotors. (#1031)
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleN97 committed Apr 3, 2024
1 parent c21f61f commit 4deaf12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Jolt/Physics/Ragdoll/Ragdoll.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,7 @@ void Ragdoll::DriveToPoseUsingMotors(const SkeletonPose &inPose)
{
JPH_ASSERT(inPose.GetSkeleton() == mRagdollSettings->mSkeleton);

// Move bodies into the correct position using kinematics
// Move bodies into the correct position using constraints
for (int i = 0; i < (int)inPose.GetJointMatrices().size(); ++i)
{
int constraint_idx = mRagdollSettings->GetConstraintIndexForBodyIndex(i);
Expand Down

0 comments on commit 4deaf12

Please sign in to comment.