how to move one actor with another (x.y)?

famekraftsfamekrafts Member, BASIC Posts: 834
edited September 2012 in Working with GS (Mac)
I want to move one main actor in the game with another, constantly updating its position with the main actor.

Problem is its a tail of the plane, and I want it separate otherwise the collision of the plane will become very big. The tail is very long.

Is there a way to edit the collision points? if not then how do I position the tail sticking with the plane thorough the game?

Comments

  • famekraftsfamekrafts Member, BASIC Posts: 834
    Bump friends, any help here?
  • Braydon_SFXBraydon_SFX Member, Sous Chef, Bowlboy Sidekick Posts: 9,273
    You'll have to create a global attribute (real) or two and o into your plane and say:

    Constrain attribute game.PlaneX to Self.Position.X.
    Do the same for the why.

    Then, go into the actor you want to follow the plane.

    Constrain self x and y to those global attributes.
  • famekraftsfamekrafts Member, BASIC Posts: 834
    Thanks going to give this a try.
  • famekraftsfamekrafts Member, BASIC Posts: 834
    Thanks @Braydon_SFX, it worked.
Sign In or Register to comment.