Constraining Movable Actors to Non-Movable Actors?

mdiak47mdiak47 Member Posts: 7
edited November -1 in Working with GS (Mac)
I would like to know how I can constrain an actor so that it can only move in the specific direction/directions to that of the other non-moveable actors.

Example:
Player(moveable actor)
Brick(Non-moveable actor)

The Player is in the middle with a Brick directly above and below it. I want that Player only to move up or down so that it lands on either Brick, without having the option of moving left or right. Although, if there were Bricks to the left or right of the Player it would also have the option of moving left or right to land on those Bricks.

Any help would be appreciated. Thank you!

Comments

  • PhoticsPhotics Member Posts: 4,172
    Maybe you could create an invisible grid. I'm not sure what you're trying to do, but what you're describing reminded me of Commove. I used invisible actors and interpolate behaviors to control movement.
  • mdiak47mdiak47 Member Posts: 7
    Yeah, I am going for a grid pattern but, I have no idea where to begin with that. A grid is just what I need.
Sign In or Register to comment.