(Side Scroller) Player doesn't move to location when the button is pressed

The player is supposed to cross the bridge when i press a key, everything is working
except it looks like the player isn’t able to go to that direction, how do i fix it?




image

A side scroller you say? Are you using planar movement to constrain the player to the Y/Z plane? If so, you probably just need to disable that in the movement component during the move player event, then turn it back on after a delay or when they overlap the trigger at the end of bridge.

not locked at all just made a different input action )':
image

Hmm… Does the bridge have a nav mesh? Sometimes narrow surfaces like that can confuse the nav generator if they’re near the edge of a nav tile.

You can try this node here instead, it does not require a Navmesh or anything, just connect the root component to it and set your desired coordinates (usually your current position + your desired offset in every direction), and the desired travel time:

grafik

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.