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