1 Replies - 263 Views - Last Post: 30 December 2012 - 12:37 PM Rate Topic: -----

#1 slehmann101  Icon User is offline

  • D.I.C Head

Reputation: 21
  • View blog
  • Posts: 146
  • Joined: 30-November 11

Enemies moving in curves at a constant speed

Posted 30 December 2012 - 11:40 AM

Currently I am using the Pythagorean theorem to determine how much the X/Y values should be increasing for when I am tracking the Player.





However the problem is that the enemy slows it's speed as it approaches it's goal. Should I be using the values as a ratio instead of the increase in X/Y?

This post has been edited by slehmann101: 30 December 2012 - 11:41 AM

Is This A Good Question/Topic? 0
  • +

Replies To: Enemies moving in curves at a constant speed

#2 anonymous26  Icon User is offline

  • D.I.C Lover

Reputation: 1
  • View blog
  • Posts: 3,638
  • Joined: 26-November 10

Re: Enemies moving in curves at a constant speed

Posted 30 December 2012 - 12:37 PM

There is no specification nor code to review to see what the problem is. As it stands your guess is as good as mine.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1