pub unsafe extern "C" fn phys_PxTransformFromSegment(
    p0: *const PxVec3,
    p1: *const PxVec3,
    halfHeight: *mut f32
) -> PxTransform
Expand description

creates a transform from the endpoints of a segment, suitable for an actor transform for a PxCapsuleGeometry

A PxTransform which will transform the vector (1,0,0) to the capsule axis shrunk by the halfHeight