Space Engineers

Space Engineers

Not enough ratings
Tick offset piston
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
396.539 KB
9 Jul, 2023 @ 11:48pm
1 Change Note ( view )

Subscribe to download
Tick offset piston

Description
Offsets pistons in the direction of travel based on where the craft will be in the next frame.

How to use:
Place pistons in a group called "StabilizedPistons".
In the case of large grid pistons, go into the programmable block and change RestPosition to 5.0f
2 Comments
DeltaWing  [author] 17 Jul, 2023 @ 6:57pm 
There's a bug with gatling guns in the game that cause them to spawn projectiles at the position they were one frame ago. Keen literally refused to fix it, stating that it's "not a bug". What this script does is allows you to offset a piston one frame ahead to where it will be, and place a gatling gun on it to counter this issue.
Kickstand Optional 17 Jul, 2023 @ 12:56pm 
I guess you'd use this for a piston-based suspension, if I'm reading everything correctly?