Forum rules - please read before posting.

One Direction Movement?

Hi AC,

For our game, we want to have points where players can only move in one direction. For example, at the beginning of the game, the player must move on a rail towards the right until they hit a certain point.

Off the top of my head, I imagine I could use a custom navmesh to force movement on a single axis, but I'm not sure how to force it into a single direction.

Thanks!

Comments

  • This is possible when your Movement method is Direct - what is yours set to?

    If so, you can limit the movement direction in each direction (up, down, left, right) with the Player: Constrain Action.  You can also use this Action to lock movement to a pre-defined Path object.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Unity's Adventure Creator.