Ejemplo n.º 1
0
 public void UpdateVisuals()
 {
     if (!Forward.EqualsZero())
     {
         cachedTransform.rotation = Quaternion.LookRotation(Forward.ToVector3());
     }
     cachedTransform.position = this.Position.ToVector3();
 }