Stormworks: Build and Rescue

Stormworks: Build and Rescue

53 ratings
Velocity Pivot to Robotic Pivot
2
2
2
   
Award
Favorite
Favorited
Unfavorite
Vehicles: Mechanical
Microcontrollers: Microcontroller
Tags: v0.10.17
File Size
Posted
Updated
29.121 KB
9 Feb, 2020 @ 5:08pm
10 May, 2020 @ 6:03pm
6 Change Notes ( view )

Subscribe to download
Velocity Pivot to Robotic Pivot

Description
Turns a velocity pivot into a fully configurable robotic one.

By default, it'll behave just like a robotic pivot, except much faster while remaining smooth.

Here's all the configuration options and what they do:
  1. Pivot Gear Ratio - Set this to your pivot's gear ratio
  2. Rotation Limit - Enables rotation limiting
  3. Max & Min Degrees - Can be independently adjusted
  4. Relative Mode - If on, it'll map a 0 to 1 or -1 to 1 input onto the min/max range set before. If off, it'll take an absolute input in full turns, clamped to the limits.
  5. Relative Input - Sets the relative input range, as mentioned before.
  6. Positive/Negative Rotation Time - Individually set the time it takes for it to move from current to target position
  7. Speed Limit - Set a speed limit in RPS. It is ignored if at 0
  8. PID Multiplier - Multiplies the PID output. (I only recommend lowering this, if the default of 1x has instability)
32 Comments
Grande1900 15 Jun @ 7:08am 
@CRUSADER that's because lua can directly read properties without needing a connection
CRUSADER 7 May @ 12:25am 
Well, the rotation limit can't be turned off, went in to check, and it's not even connected to anything, 👍
LionsFan20 21 Apr @ 12:26pm 
Does this work for Compact Velocity Pivots and Turret Rings?
NickName 12 Apr @ 6:44am 
very very buggy. I want to use it for a turret but using this creates some force pushing my hull around
Nick Name 1 Dec, 2023 @ 5:52pm 
is there a way to make this work, but with small pivots and the phys sensor?
Ncplq 11 Nov, 2023 @ 6:09am 
https://steamproxy.net/id/fiz9/myworkshopfiles/?appid=573090
HI! I added an ability to invert rotation. If you add it to the original, I'll delete mine/
Breezing 24 Oct, 2023 @ 7:19pm 
can you use this to make boosters guidable from pivots
LordDog 8 Jun, 2023 @ 2:07pm 
Is their a way to make it stop moving at a certain point
limbo 17 Apr, 2023 @ 2:13pm 
i got a problem wher eit keeps going back to the defauld position when i move it
But Hull 19 Mar, 2023 @ 5:22am 
Very nice mic. thanks for sharing it