public void SetMotorTarget(Quaternion qAinB, float dt) { var o = (HingeConstraintImp) _hci.UserObject; o._hci.SetMotorTarget(Translater.QuaternionToBtQuaternion(qAinB), dt); }
public Fusee.Math.Quaternion BtQuaternionToQuaternion(BulletSharp.Quaternion btQuaternion) { var retval = new Fusee.Math.Quaternion(btQuaternion.X, btQuaternion.Y, btQuaternion.Z, btQuaternion.W); return retval; }
public void SetMotorTarget(Quaternion q) { _cti.SetMotorTarget(Translater.QuaternionToBtQuaternion(q)); }
public void SetMotorTargetInConstraintSpace(Quaternion q) { _cti.SetMotorTargetInConstraintSpace(Translater.QuaternionToBtQuaternion(q)); }
public BulletSharp.Quaternion QuaternionToBtQuaternion(Fusee.Math.Quaternion quaternion) { var retval = new BulletSharp.Quaternion(quaternion.x, quaternion.y, quaternion.z, quaternion.w); return(retval); }
public Fusee.Math.Quaternion BtQuaternionToQuaternion(BulletSharp.Quaternion btQuaternion) { var retval = new Fusee.Math.Quaternion(btQuaternion.X, btQuaternion.Y, btQuaternion.Z, btQuaternion.W); return(retval); }
public void SetMotorTarget(Quaternion qAinB, float dt) { var o = (HingeConstraintImp)_hci.UserObject; o._hci.SetMotorTarget(Translater.QuaternionToBtQuaternion(qAinB), dt); }