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
89
S
30
G
95
Posts: 5,157
Reputation: 63,450


Return to How do I....?

Who is online

Users browsing this forum: Particle games, Yahoo [Bot] and 7 guests