Skip to main content

CreateRevoluteJoint

Function CreateRevoluteJoint 

Source
pub unsafe fn CreateRevoluteJoint(
    world: Pin<&mut b2World>,
    bodyA: *mut b2Body,
    bodyB: *mut b2Body,
    collideConnected: bool,
    localAnchorA: b2Vec2,
    localAnchorB: b2Vec2,
    referenceAngle: f32,
    enableLimit: bool,
    lowerAngle: f32,
    upperAngle: f32,
    enableMotor: bool,
    maxMotorTorque: f32,
    motorSpeed: f32,
) -> *mut b2RevoluteJoint