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
61
S
22
G
14
Posts: 1,480
Reputation: 16,373

Post » Fri Jan 13, 2012 1:10 pm

Oops, yeah I meant % 360, with an extra if over 180, subtract 360.
Scirra Founder
B
363
S
216
G
75
Posts: 23,122
Reputation: 180,543

Previous

Return to How do I....?

Who is online

Users browsing this forum: annauva, Greaver, Yahoo [Bot] and 11 guests