Distance from one point to another

Discussion and feedback on Construct 2

Post » Fri Oct 28, 2016 2:43 pm

Hey,

I want to know the distance from one point (X,Y) to another. Do you guys know a formula for this?
Thanks in advance!
ImageImageImageImage
B
30
S
9
G
7
Posts: 260
Reputation: 5,642

Post » Fri Oct 28, 2016 3:01 pm

System expressions

Code: Select all
distance(x1, y1, x2, y2)

Calculate distance between to points
B
67
S
24
G
7
Posts: 1,518
Reputation: 11,072

Post » Fri Oct 28, 2016 9:00 pm

Thank you!
ImageImageImageImage
B
30
S
9
G
7
Posts: 260
Reputation: 5,642


Return to Construct 2 General

Who is online

Users browsing this forum: zenox98 and 5 guests