Rotate degrees with smooth start/stop?

Get help using Construct 2

Post » Fri Sep 16, 2016 6:33 am

anglerotate(start, end, step) Rotate angle start towards end by the angle step, all in degrees. If start is less than step degrees away from end, it returns end.
Image ImageImage
B
170
S
50
G
179
Posts: 8,380
Reputation: 113,429

Post » Fri Sep 16, 2016 7:47 am

I guess you're looking for some kind of ease? starts slowly, then faster, and slower ... Check out sin or cos? i think they are your friends in this case.
Follow my progress on Twitter
or in this thread Archer Devlog
B
41
S
18
G
18
Posts: 1,025
Reputation: 13,347

Post » Fri Sep 16, 2016 2:55 pm

R0J0hound wrote:@ultrafop
I can't open your capx right now but if you made the variables local you also need to make them static. With just local the variables will not save their changes.


Thanks R0j0, I'll make the changes. I knew this would be a good opportunity to learn something new haha.
B
69
S
40
G
24
Posts: 356
Reputation: 18,314

Previous

Return to How do I....?

Who is online

Users browsing this forum: dop2000 and 42 guests