Example #1
0
 public void editRotation(ref Quaternion rotation)
 {
     if (simObjectController != null)
     {
         SimObjectBase simObj = simObjectController.getSimObject(Name) as SimObjectBase;
         if (simObj != null)
         {
             simObj.updateRotation(ref rotation, null);
         }
     }
     instance.Definition.Rotation = rotation;
     Modified = true;
 }
 public void rotate(Quaternion newRot)
 {
     modelObject.updateRotation(ref newRot, null);
 }