2D platformer climbing mechanic

Hey. I’m making a 2D pixel platformer and I want it to be able to move between different platforms connected by ropes / ladders when I click one of them (like maplestory).
So far I’ve done the character movement with click to move inside the platform, but I’m having trouble with moving from one platform to another with a climbing mechanic. To move the character with the mouse click, I’m using Simple Move to Location inside the nav mesh volume. Problem is since this is 2D, the different platforms are not connected by the nav mesh.
One solution I was trying to implement was with nav link proxy, using smart links to connect both nav mesh volumes, using 2 points on the same plane (same Y, different X and Z). But when I click the 2nd platform, the character moves to the link point on the same platform, and then starts moving on the X axis to where the other link point is.
To debug this I tried adding print strings to the On Smart Link Reached, but the string doesn’t seem to get printed.

Is this the correct way to implement this? I couldn’t find any tutorials for this out there…

Nav links can be a bit finicky sometimes.

If I remember correctly, you need to tick an option for smart link is relevant, and delete the simple links. After that, the link reached event should fire.

1 Like

That worked, thanks!

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