How do I find a point with an angle & distance?

Get help using Construct 2

Post » Sun Dec 13, 2015 3:34 am

Say if I had a point, and I wanted to find another point that is x distance at y angle from that point, how would I go about calculating that?
B
11
S
2
Posts: 13
Reputation: 601

Post » Sun Dec 13, 2015 5:32 am

Point2.x=dist*cos(ang) +point1.x
Point2.y=dist*sin(ang) +point1.y
B
91
S
31
G
103
Posts: 5,234
Reputation: 67,754


Return to How do I....?

Who is online

Users browsing this forum: plinkie and 16 guests