diff --git a/Jolt/Physics/SoftBody/SoftBodyMotionProperties.cpp b/Jolt/Physics/SoftBody/SoftBodyMotionProperties.cpp index 47e5b771b..80871375e 100644 --- a/Jolt/Physics/SoftBody/SoftBodyMotionProperties.cpp +++ b/Jolt/Physics/SoftBody/SoftBodyMotionProperties.cpp @@ -766,7 +766,7 @@ void SoftBodyMotionProperties::UpdateSoftBodyState(SoftBodyUpdateContext &ioCont // Calculate linear/angular velocity of the body by averaging all vertices and bringing the value to world space float num_vertices_divider = float(max(int(mVertices.size()), 1)); SetLinearVelocityClamped(ioContext.mCenterOfMassTransform.Multiply3x3(linear_velocity / num_vertices_divider)); - SetAngularVelocityClamped(ioContext.mCenterOfMassTransform.Multiply3x3(angular_velocity / num_vertices_divider)); + SetAngularVelocity(ioContext.mCenterOfMassTransform.Multiply3x3(angular_velocity / num_vertices_divider)); if (mUpdatePosition) {