Constraining Movable Actors to Non-Movable Actors?
mdiak47
Member Posts: 7
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!
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