Space Engineers

Space Engineers

210 个评价
Rotor Torsion Spring
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
12.036 KB
2018 年 8 月 9 日 上午 7:06
2019 年 9 月 23 日 下午 5:52
3 项改动说明 ( 查看 )

订阅以下载
Rotor Torsion Spring

描述
This script is for simulate the torsion spring, with the rotor.

How to use it ?
1.Paste this script in the PB.
2.Write "spring" in the custom data of the rotor, that you want to be a torsion spring.
3.Wait for a while. Or press "Recompile" button of the PB.
4.Change the variable of the custom data in the rotor.

Variables
BaseTorque : The rotor always has torque of this value.
TargetAngle : The rotor will try to return to this angle. This value is degree.
SpringConstant : As the angle difference from TargetAngle increases, the torque of the rotor increases according to this value.
Kp Ki Kd : PID gain. It affects the speed with which the rotor returns to the TargetAngle.
热门讨论 查看全部(1)
5
2019 年 3 月 17 日 上午 11:34
Script With Hinges Mod
Joshuawood
78 条留言
Jetzilla 1 月 23 日 下午 4:02 
does this work with hinges?
Jack Schitt 2024 年 9 月 30 日 下午 8:37 
What exactly is Kp, Ki, Kd, and PID? More info please and thanks!
Acirno 2023 年 10 月 27 日 上午 1:53 
I would love a piston spring but not sure it is even possible, at least not like this.
Joe Wick-ed 2023 年 10 月 11 日 上午 3:56 
any piston spring scripts?
condottiere 2023 年 5 月 17 日 下午 5:25 
@MedvePapus: In the first video, Sunoko comments they may need to increase base torque on their example design, which is constantly bouncing.

@Blitz: Probably easier to just use one of the leveller scripts. Pesticide has some fairly lightweight ones. Gravity Aligner and Leveller.
condottiere 2023 年 5 月 17 日 下午 5:17 
@the young biker: Probably want to use Whiplash's Subgrid Wheel control script. Subgrids will never work perfectly like a single grid with wheels, but that script does an excellent job as far as it can.
the young biker 2023 年 5 月 8 日 下午 12:31 
how do i make the wheels move while using this script
MedvePapus 2023 年 3 月 5 日 上午 12:46 
any tips on stopping the bounce?
Blitz 2023 年 1 月 7 日 上午 8:30 
is it possible to use this script to automatically orient to the gravity well? Like an auto leveler?
Booker DeWitt 2022 年 8 月 11 日 上午 8:13 
This script is awesome, would be great if you could adjust the values based on the ships weight!