Function physx_sys::phys_PxSetJointGlobalFrame
source · pub unsafe extern "C" fn phys_PxSetJointGlobalFrame(
joint: *mut PxJoint,
wsAnchor: *const PxVec3,
wsAxis: *const PxVec3
)
Expand description
Helper function to setup a joint’s global frame
This replaces the following functions from previous SDK versions:
void NxJointDesc::setGlobalAnchor(const NxVec3 & wsAnchor); void NxJointDesc::setGlobalAxis(const NxVec3 & wsAxis);
The function sets the joint’s localPose using world-space input parameters.