fixed PhysicsBody::setAngularVelocityLimit incorrect function call

This commit is contained in:
zukkun 2014-04-01 09:34:42 +09:00
parent f4a7da8457
commit e41fd1a29b
1 changed files with 1 additions and 1 deletions

View File

@ -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()