I chase you around circle!

For questions about using Classic.

Post » Fri Jan 13, 2012 6:16 pm

I chase you around circle.... if your angle is higher than mine than I add speed counterclockwise, you have lower angle I go clockwise... but then you cross 360 and I am 346 then you angle 0 I must go all the way around circle!!

Please help me to catch you better! Thank you.
B
5
S
1
G
2
Posts: 99
Reputation: 1,575

Post » Fri Jan 13, 2012 7:22 pm

Try anglelerp from lucid's math plugin - it always lerps to the smallest angle difference, even if you cross the 0 barrier.
Image
B
23
S
8
G
10
Posts: 1,820
Reputation: 8,242

Post » Fri Jan 13, 2012 8:44 pm

I think I'm going to have to dedicate my game to you... you or lucid!
B
5
S
1
G
2
Posts: 99
Reputation: 1,575


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 2 guests