예제 #1
0
 /// <summary>
 /// Sets the motor target in constraint space.
 /// </summary>
 /// <param name="q">The q.</param>
 public void SetMotorTargetInConstraintSpace(Quaternion q)
 {
     _cti.SetMotorTargetInConstraintSpace(Translator.QuaternionToBtQuaternion(q));
 }
예제 #2
0
        /// <summary>
        /// Sets the motor target.
        /// </summary>
        /// <param name="qAinB">The q ain b.</param>
        /// <param name="dt">The dt.</param>
        public void SetMotorTarget(Quaternion qAinB, float dt)
        {
            var o = (HingeConstraintImp)_hci.UserObject;

            o._hci.SetMotorTarget(Translator.QuaternionToBtQuaternion(qAinB), dt);
        }
예제 #3
0
 /// <summary>
 /// Sets the motor target.
 /// </summary>
 /// <param name="q">The q.</param>
 public void SetMotorTarget(Quaternion q)
 {
     _cti.SetMotorTarget(Translator.QuaternionToBtQuaternion(q));
 }