how do i do the homing attack as sen in sonic games? like when sonic is in range of the enemy, he performs a homing attack. Anybody knows how to do this?
Conditions -
Player - Pick nearest enemy
Compare two values - distance(player.x,player.y,enemy.x,enemy.y) is less than HomingDistance
Action -
Player - Move at angle - angle(player.x,player.y,enemy.x,enemy.y), distance 1
i dont think that worked
Develop games in your browser. Powerful, performant & highly capable.
Thats kinda like the method i use for when doing homing missiles.
Did someone says homing missiles? I kinda have an example for that:
Well thanx guys for your help