예제 #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();
         }
     }
 }
예제 #2
0
 public void Update()
 {
     position = agxPrimitive.GetPosition();
     //rotation = agxPrimitive.Get_Rotation();
     quatRotation = agxPrimitive.GetRotation();
 }