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
60
S
22
G
14
Posts: 1,479
Reputation: 16,346

Post » Fri Jan 13, 2012 1:10 pm

Oops, yeah I meant % 360, with an extra if over 180, subtract 360.
Scirra Founder
B
359
S
214
G
72
Posts: 22,949
Reputation: 178,544

Previous

Return to How do I....?

Who is online

Users browsing this forum: jobel, Timedoor Indones, Yahoo [Bot] and 20 guests