Waypoint are completly bugged

Hello again,

I have tried to make a tankmodel follow a waypoint inside a city (the map is avg_port_novorossiysk) and it actualy “follow” the way.

The issue is it kinda lose itself on the way, often making weird turns or stoping for no reason. It also often go inside obstacles like buldings. It wouldn’t be that much of an issue if that doesn’t make the said obstacles DISAPEAR.

I have tried many configuration with the unitSetProperties but nothing seems to avoid that.
Even worst is it don’t even need to collide with them. Just passing nearby is enough to make the bulding vanish. Note: the texture and the amo collisions does not work anymore BUT you still can’t move inside the area where the bulding was. Like an invisible wall.

Here for example I wanted it to go by this route.
image

But once it arrive at the waypoint before, it doesn’t take the turn and go straight into the building. which you can see here disapear.
image

Here it does follow the line correctly but the bulding disapeared anyway
image

the parameters I used
image

I also tried with and without pathfinder, the only difference is the pathfinder being smartn’t but’s it’s about it.

Anyone have a clue on a workaround?

First thing, when you’re making a path in a very dense area like a ground map you gotta have lots of points or else they’ll take the most straight path. Ground maps arent exactly how they look in CDK. The roads delete objects in-game. As for buildings vanishing i’ve never seen that problem before. Best bet is to remove moveable and ignorecollisions. Keep ignoresObstaclesAfterTime checked in case it needs to pass a dead tank.

1 Like

Thanks a lot!

I will try that and give a feedback after it