Skip to content

How to change speed of agent traversing off-mesh-connection? #445

Answered by isaac-mason
rob-myers asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @rob-myers, unfortunately to the best of my knowledge recastnavigation currently doesn't have great support for customising traversal across off mesh links.

From reading recastnavigation google discussions and github issues, it seems most have to resort to modifying DetourCrowd code to add their own handling.

In the library the handling is a lerp between the two points, and it appears the lerp is time based, and only considers the agents max speed once when triggering moving over the offmesh connection.

Some relevant links to DetourCrowd code:

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@isaac-mason
Comment options

Answer selected by rob-myers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants