pub unsafe extern "C" fn PxPhysics_createConstraint_mut(
    self_: *mut PxPhysics,
    actor0: *mut PxRigidActor,
    actor1: *mut PxRigidActor,
    connector: *mut PxConstraintConnector,
    shaders: *const PxConstraintShaderTable,
    dataSize: u32
) -> *mut PxConstraint
Expand description

Creates a constraint shader.

A constraint shader will get added automatically to the scene the two linked actors belong to. Either, but not both, of actor0 and actor1 may be NULL to denote attachment to the world.

The new constraint shader.