Advertisement Jump to content

Distance between 2 points

This topic is 442 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

Let's say I have a point1: x =10, y = 50 

and point2: x = 30, y = 75

And I would like to draw a line between those two points. How to calculate the distance between those two points so I know what that line's length should be?




Share this post

Link to post
Share on other sites

With all due respect, I googled your thread title verbatim and was suggested a 25-second video clip with a thumbnail of the literal equation required to do what you're asking.  Didn't even have to change it at all.  That points to a serious lack of effort.

We're all willing to help people and answer questions, but that effort needs to be reciprocated at least somewhat by the people asking.  Please at least use a few minutes to google for an answer before making a thread asking something.

Edited by SeraphLance

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!