Skip to main content

CreateFrictionJoint

Function CreateFrictionJoint 

Source
pub unsafe fn CreateFrictionJoint(
    world: Pin<&mut b2World>,
    bodyA: *mut b2Body,
    bodyB: *mut b2Body,
    collideConnected: bool,
    localAnchorA: b2Vec2,
    localAnchorB: b2Vec2,
    maxForce: f32,
    maxTorque: f32,
) -> *mut b2FrictionJoint