Exemplo n.º 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;
 }
Exemplo n.º 2
0
 public void rotate(Quaternion newRot)
 {
     modelObject.updateRotation(ref newRot, null);
 }