How do i determine where a cannon shell/goliath shell lands?

i need help, im still working on my ace of coders code, so i need help on commanding my archers to dodge both eney shells/boulders and my own as well

There is a parameter targetPos.
So, for example,
DodgeVector=something, missile.targetPos.


thanks, lemme try this :slight_smile:

it didnt work… what i wanted was that where the missile is gonna land, not where the missile’s target is…

do u have to use velocity and math?

missile.targetPos gives you the position it’s going to land in -_-


Because it aims for it’s ta- Wait, what if there’s a moving target?


Oh, yeah

This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.