Exemplo n.º 1
0
 public virtual void TranslateOO(Vector3 distance)
 {
     HasMoved  = Moved(distance);
     position += GameComponentHelper.Translate3D(distance, rotation);
 }
Exemplo n.º 2
0
 public virtual void TranslateAA(Vector3 distance)
 {
     Position += GameComponentHelper.Translate3D(distance);
 }
Exemplo n.º 3
0
 public override void TranslateOO(Vector3 distance)
 {
     HasMoved = Moved(distance);
     RigidBody.ActivationState = BulletSharpPhysics.ActivationState.ActiveTag;
     RigidBody.Translate(GameComponentHelper.Translate3D(distance, rotation));
 }
Exemplo n.º 4
0
 public override void TranslateOO(Vector3 distance)
 {
     HasMoved = Moved(distance);
     CollisionObject.SetActivationState(ActivationState.ACTIVE_TAG);
     CollisionObject.Translate(GameComponentHelper.Translate3D(distance, rotation));
 }
Exemplo n.º 5
0
 public void TranslateAA(Vector3 distance)
 {
     HasMoved  = Moved(distance);
     Position += GameComponentHelper.Translate3D(distance);
 }