An actor going towards another actor

RelianceLancer

  • Posts: 1
Hai, how do i make my actor(ball) goes towards the paddle(another actor)?
i have tried atan2 in the file attached but it only goes towards right direction only

JeffreyDriver

  • Posts: 2071
You can try using the Easy Math extension to help calculate the direction rather than do it yourself.

http://community.stencyl.com/index.php/topic,27769.0.html
Current Projects:
The Grand Grimoire Chronicles Episode 1 now on Kongregate!.
I always appreciate useful feedback. Thank you.
www.jeffreydriver.co.uk