How do I check sprite angle on overlap?

Get help using Construct 2

Post » Sat May 09, 2015 5:27 pm

I need to check if two sprites are at the same angle before snap them. "Compare angles" doesn't exist so I tried to use "compare two values" to compare angles but it didn't work. Any other possibility?
B
74
S
13
G
3
Posts: 995
Reputation: 7,531

Post » Sat May 09, 2015 6:02 pm

round(Sprite.Angle)=round(Sprite2.Angle)
Image
B
63
S
23
G
7
Posts: 1,480
Reputation: 10,796

Post » Sat May 09, 2015 6:36 pm

Thank you, @korbaach

I always wanted to know why the "compare angle" command doesn't exist. Do you know why?
B
74
S
13
G
3
Posts: 995
Reputation: 7,531


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 6 guests