finding the angle between two objects

For questions about using Classic.

Post » 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
134
S
30
G
86
Posts: 5,420
Reputation: 59,526

Post » 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?
ImageImageImage
B
40
S
23
G
11
Posts: 498
Reputation: 10,062

Post » 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
37
S
12
G
29
Posts: 331
Reputation: 16,499

Post » Thu May 19, 2016 6:16 am

oh man I got old.
B
78
S
13
G
8
Posts: 1,975
Reputation: 9,920

Post » 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
398
S
236
G
88
Posts: 24,433
Reputation: 194,635

Post » 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
I don't check the forums much anymore, but I will receive an email for PMs.

"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
22
S
6
G
1
Posts: 1,418
Reputation: 4,830

Previous

Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 4 guests