Profile image

Need help with variable speed for rotator

43.5k xSUPERTTx  4.4 years ago

I want to create one mechanism in SP, but I need some code for rotator.
Ok so we have rotator that turns 360°. I need rotator that have 100% speed from 0 to 300°, and 50% speed from 300 to 360°. And it must allways speen with such cycle because I make some kinda engine (might it will be work, because its really interesting)

Alternative scheeme to realise such effect is using 2 rotators, first allways spin, second dont spin from 300 to 360°.

Need help with codes for such rotators, or with founding new way to realise spinning with different speed of spinning or with cycle decreasing and increasing speed of spin