Hello, i draw road network over a terrain with EasyRoads3D. I want to move a character just left side of road, center of road and right side of road. Character should follow road only as like infinite runner games. I asked asset developer and he suggested me using EasyRoads3D API to define position in road. I found this from their manual.
public Vector3 GetSplinePointsCenter()
Returns pre-sampled positions at the center of the road
public Vector3 GetSplinePointsRightSide()
Returns pre-sampled positions at the right side of the road
public Vector3 GetSplinePointsLeftSide()
Returns pre-sampled positions at the left side of the road
Can i use Bolt to acces EasyRoads3D API and control player to just move inside road, only left side, right side and center of road.
Thanks for support
Customer support service by UserEcho