Esempio n. 1
0
void pJointD6::setDriveRotation(VxQuaternion rot)
{
	NxD6JointDesc descr;		NxD6Joint *joint  = static_cast<NxD6Joint*>(getJoint());	if (!joint)return ;	joint->saveToDesc(descr);
	joint->setDriveOrientation(pMath::getFrom(rot));
	joint->loadFromDesc(descr);
}