Esempio n. 1
0
 public Quaterniond GetRotation()
 {
     if (Target == null)
     {
         return(Quaterniond.Identity);
     }
     if (_physics == null)
     {
         return(Target.transform.Rotation);
     }
     return(_physics.GetRotation());
 }
Esempio n. 2
0
 public override void ParentChanged()
 {
     OriginalOrientation = msoParentPhysics.GetRotation();
     // DoorIsOpen = true;
     CloseDoor();
 }