Esempio n. 1
0
 public void Relocate(TGCVector4 newPosition)
 {
     this.posicion = new TGCVector3(newPosition.X, newPosition.Y, newPosition.Z);
     this.rotacion = new TGCVector3(0, newPosition.W, 0);
     posicionArma.TryGetValue(new Tuple <string, float>(this.Scene.SceneName, newPosition.W), out posicionInicialArma);
     arma.Move(this.posicion + posicionInicialArma);
 }