diff --git a/cocos/physics/CCPhysicsBody.cpp b/cocos/physics/CCPhysicsBody.cpp index 34c1c51ed6..3d0203e8f5 100644 --- a/cocos/physics/CCPhysicsBody.cpp +++ b/cocos/physics/CCPhysicsBody.cpp @@ -623,7 +623,7 @@ float PhysicsBody::getVelocityLimit() void PhysicsBody::setAngularVelocityLimit(float limit) { - cpBodySetVelLimit(_info->getBody(), PhysicsHelper::float2cpfloat(limit)); + cpBodySetAngVelLimit(_info->getBody(), PhysicsHelper::float2cpfloat(limit)); } float PhysicsBody::getAngularVelocityLimit()