Support Forum

Custom Node Link Traversal Curve

Hey, I’m using Node Link 2s with a recast graph on version 4.2.16.

I’m wondering what the best way to get a more organic traversal curve would be. I don’t want to rely on animations because the traversal height is entirely variable.

Here’s an example of what it looks like right now:

I’d like to have it look much more organic, having them do a little hop off the edge when falling down, and when going up, bouncing upwards and overshooting like they bounced on a trampoline. Is there a good way of doing this with Node Links or should I try disabling traversal when reaching a link and use my own implementation for traversal? Thanks!


You can register to the richAI.onTraverseOffMeshLink function to get full control over what happens at off-mesh-links.