I'm trying to make a tower defense game, but I'm having trouble making the friendly weapons predict incoming enemy and make them shoot just in time.
Here is a video example of what I'm trying to program:
skip to 4:09 (check out the character throwing rocks)
https://www.dropbox.com/s/hn5grx188skcb ... g.png?dl=0
Develop games in your browser. Powerful, performant & highly capable.
This is a built in functionality.
A useful feature of the Turret behavior is the ability to use predictive aim.
— Yeah I checked that out already, but doesn't help because I'm trying to make the friendly AI predict and shoot projectiles with an arc just like the link below