Moving an object along a road

Hi,

I am trying to write an extension that can move an object along a road.
I am considering using the occupancy map to identify the points where my object can move to and then figure out a way to move it along those points.

Can you guys help me implement that with code?

Hi @Ai-Da. I think this could be a good approach. Seems like you want to get the positions of some points and then set the position of an object between two points. Is there some part of the API that you’re struggling to understand to achieve this?