Problem when angle goes from +180 to -180

Get help using Construct 2

Post » Fri Jan 13, 2012 12:22 pm

@Ashley
%180 ?... isn't that weird?
181 is the same as -179
but 181%180 = 1 isn't it?

Anyway yeah as I said I probably put too much %360
because at the time, the interpolation kept bugging and I was over cautious (of course the issue were elswhere)
B
63
S
22
G
14
Posts: 1,482
Reputation: 16,432

Post » Fri Jan 13, 2012 1:10 pm

Oops, yeah I meant % 360, with an extra if over 180, subtract 360.
Scirra Founder
B
378
S
219
G
84
Posts: 23,854
Reputation: 187,841

Previous

Return to How do I....?

Who is online

Users browsing this forum: KittenKatja, MAVERICK, QuantumMMX, Zion and 12 guests