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
4
Posts: 1,005
Reputation: 8,058

Post » Sat May 09, 2015 6:02 pm

round(Sprite.Angle)=round(Sprite2.Angle)
B
66
S
24
G
7
Posts: 1,515
Reputation: 11,041

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
4
Posts: 1,005
Reputation: 8,058


Return to How do I....?

Who is online

Users browsing this forum: dand, mickclarke and 28 guests