Skip to main content

CreateMouseJoint

Function CreateMouseJoint 

Source
pub unsafe fn CreateMouseJoint(
    world: Pin<&mut b2World>,
    bodyA: *mut b2Body,
    bodyB: *mut b2Body,
    collideConnected: bool,
    target: b2Vec2,
    maxForce: f32,
    stiffness: f32,
    damping: f32,
) -> *mut b2MouseJoint