示例#1
0
文件: cbody.cpp 项目: dogtwelve/eepp
void cBody::AngVelLimit( const cpFloat& speed ) {
	cpBodySetAngVelLimit( mBody, speed );
}
示例#2
0
void PhysicsBody::setAngularVelocityLimit(float limit)
{
    cpBodySetAngVelLimit(_info->getBody(), PhysicsHelper::float2cpfloat(limit));
}
示例#3
0
文件: physics.c 项目: andi2/cgame
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);
}
示例#5
0
void Body::setAngVelLimit(cpFloat value)
{
		cpBodySetAngVelLimit(body,value);
}