Пример #1
0
 Bone GetBone(ESpecificBone a_Bone)
 {
     return(m_Finger.bones[(int)a_Bone]);
 }
Пример #2
0
        //public Vector3 GetTipVelocity()
        //{
        //    return m_Finger.TipVelocity.ToVector3();
        //}

        public Quaternion GetBoneRotation(ESpecificBone a_Bone)
        {
            return(GetBone(a_Bone).Rotation.ToQuaternion());
        }
Пример #3
0
        public Vector3 GetBonePosition(ESpecificBone a_Bone)
        {
            Vector pos = GetBone(a_Bone).Center;

            return(pos.ToVector3());
        }
Пример #4
0
 public Vector3 GetBoneDirection(ESpecificBone a_Bone)
 {
     return(GetBone(a_Bone).Direction.ToVector3());
 }