Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

VermiciousKnid

Point to Point Motion

This topic is 6259 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hey, Is there an easy way or a DirectX function to move a sprite from a certain point x1,y1 to x2,y2 without using trig functions or square roots after every frame? Like in Diablo where you click a point and the character walks in a straight line. What is the most effecient way to accomplish this? VK

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
That thread appears to concern 2D space, not 3D. I''ve been wrestling with a similar problem
and was wondering if anyone was able to get something working with Jesper''s solution?

IcarusXJ

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Doh, my apologies. Wrong thread myself. =)

IcarusXJ

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!