# finding the angle between two objects

For questions about using Classic.

### » Wed May 18, 2016 7:02 am

@badmoodtaylor
badmoodtaylor wrote:
Old post I know, but was searching for atan2 and found this. Thanks!

.... and also for the - now retired - Construct Classic. Bit of a pointless 8 year old thread bump, I'd say.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
123
S
29
G
70
Posts: 4,913
Reputation: 49,527

### » Wed May 18, 2016 7:52 am

zenox98 wrote:@badmoodtaylor
badmoodtaylor wrote:
Old post I know, but was searching for atan2 and found this. Thanks!

.... and also for the - now retired - Construct Classic. Bit of a pointless 8 year old thread bump, I'd say.

Didn't realize it was on a Construct Classic forum—found directly from Google search.

Is there a better way to get an angle from x y coordinates? Used sin & cos to store values in variables in previous functions.

It helped me solve my problem and the search didn't turn up any other relevant results. If it can still help answer people's questions what does it matter how old it is?
B
34
S
19
G
11
Posts: 460
Reputation: 9,424

### » Wed May 18, 2016 1:35 pm

If it can still help answer people's questions what does it matter how old it is?

Exactly..............Hipparchus (father of trigonometry) would surely agree !
What I know would fill a Book , what I don't know would fill a Library
B
36
S
12
G
29
Posts: 328
Reputation: 16,458

### » Thu May 19, 2016 6:16 am

oh man I got old.
B
55
S
7
G
6
Posts: 1,949
Reputation: 7,693

### » Thu May 19, 2016 12:11 pm

Haha kinda funny to see such an old thread. Yeah, so I got the angle expression wrong in 2008. I do apologise. Hopefully I got it right for the last eight years instead XD
Scirra Founder
B
363
S
216
G
75
Posts: 23,124
Reputation: 180,557

### » Tue Jul 05, 2016 9:41 pm

Ashley wrote:Haha kinda funny to see such an old thread. Yeah, so I got the angle expression wrong in 2008. I do apologise. Hopefully I got it right for the last eight years instead XD

It is still kind of wonked... fortunately the angle to position method on the TiledBackground seems to work much better.
https://www.ravenheart.ca/home
Company name changed to avoid Facebook-type shenanigans

"Someone once told me I bite off more than I can chew...

I told them I would rather choke on greatness than nibble on mediocrity."
B
18
S
5
G
1
Posts: 1,205
Reputation: 4,190

Previous

Return to Help & Support using Construct Classic

### Who is online

Users browsing this forum: No registered users and 4 guests