Stormworks: Build and Rescue

Stormworks: Build and Rescue

Logic - Tilt sensor conversion
3 Comments
Tajin  [author] 4 Apr, 2022 @ 8:07am 
@Grimper I've sent you a function block code on discord that you can use for that.
Grimper 4 Apr, 2022 @ 2:04am 
Any chance you could extend this so that it can be moved to specific angles like a robotic pivot? I tried doing it myself by just plugging the output of this into a velocity-to-robotic converter, and it kinda works....but has issues with violently flipping around when it passes 1 and goes back to 0.

I assume this is caused by converters expecting the CurrentRotation value of a velocity pivot to keep going up indefinitely rather than reverting back to 0 like yours does, but I don't have the mathematical expertise to fix it.
♛Succubus♛ 25 Oct, 2020 @ 3:58pm 
can i take your tilt to build my stabilization system for missiles?