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