Adjusting Agent Movement Speed on a Recast Graph for Uneven Terrain

Hello

I am working on a project using the Recast graph in the A* Pathfinding Project & noticed that agents tend to move at the same speed across all types of terrain. This creates an unrealistic effect; especially when navigating uneven or sloped areas. :innocent:

I’d like to know if there’s a way to dynamically adjust the movement speed of agents based on the type or slope of the terrain they are traversing. For example, slowing down on steep inclines / rough surfaces. :upside_down_face: I have checked Change speed in Slope and java guide for reference .

Are there built-in options or recommended methods to achieve this, such as integrating modifiers into the Recast graph or scripting a custom solution? :thinking:

Any insights or documentation references would be greatly appreciated!

Thank you ! :slightly_smiling_face:

I don’t believe there’s any out of the box support for this- I poked around the documentation and it looks like you’d have to script your own solution as you mentioned. Let us know if you need any information from us to help you make it :slight_smile: