Example #1
0
 public void Update()
 {
     position = agxPrimitive.GetPosition();
     //rotation = agxPrimitive.Get_Rotation();
     quatRotation = agxPrimitive.GetRotation();
     if (forceSensor != null)
     {
         forceSensor.Update();
     }
     if (distanceSensors != null)
     {
         foreach (DistanceSensor ds in distanceSensors)
         {
             ds.Update();
         }
     }
 }
Example #2
0
 public void Update()
 {
     position = agxPrimitive.GetPosition();
     //rotation = agxPrimitive.Get_Rotation();
     quatRotation = agxPrimitive.GetRotation();
 }