Beispiel #1
0
void cBody::AngVelLimit( const cpFloat& speed ) {
	cpBodySetAngVelLimit( mBody, speed );
}
void PhysicsBody::setAngularVelocityLimit(float limit)
{
    cpBodySetAngVelLimit(_info->getBody(), PhysicsHelper::float2cpfloat(limit));
}
Beispiel #3
0
void physics_set_angular_velocity_limit(Entity ent, Scalar lim)
{
    PhysicsInfo *info = entitypool_get(pool, ent);
    error_assert(info);
    cpBodySetAngVelLimit(info->body, lim);
}
void PhysicsBody::setAngularVelocityLimit(float limit)
{
    cpBodySetAngVelLimit(_cpBody, limit);
}
Beispiel #5
0
void Body::setAngVelLimit(cpFloat value)
{
		cpBodySetAngVelLimit(body,value);
}