Stormworks: Build and Rescue

Stormworks: Build and Rescue

Robotic Pivot help
Im building a outboarded boat. The proppeler steers with help of a pivot. But when the pivot is pushed to the right the whole boat starts to rotate and doing weird stuff. How can i set a limit on the pivot? (sry for bad
explanation)
< >
1-6 / 6 のコメントを表示
このスレッドの作成者がこの投稿を元のトピックへの回答と指定しました。
tbk500 2019年3月12日 18時04分 
You could try adding a clamp and adjusting the settings. That would limit how far it can pivot.
最近の変更はtbk500が行いました; 2019年3月12日 18時04分
tbk500 の投稿を引用:
You could try adding a clamp and adjusting the settings. That would limit how far it can pivot.
Could you explain in more detail, please?
Blaisian の投稿を引用:
tbk500 の投稿を引用:
You could try adding a clamp and adjusting the settings. That would limit how far it can pivot.
Could you explain in more detail, please?

Basically, if you want your pivot to to have a rotation limit of 25 degrees to the left and right, add a clamp logic gate, set the min and max to -25 and 25 on the clamp, and then run your steering logic through the clamp and then to the pivot.
Robotic pivots have 90 degrees each direction with -1 to 1 input. So, *Basically*, your guide is a *censored*. If you want a 25 degree you need to clamp your input to -0.278 to 0.278, and thats will kill all your input beyond those values.
Best way to reduce steering angles with saving all input range for a 25 degrees will be an easy function (x*0.278). For any angle you need you can calculate as x*(*needed angle*/90)
Also you can change pivot gear ratio to add them stability.
最近の変更はHumphreyが行いました; 2021年10月6日 2時51分
Clamp is in my opinion a bad idea, because anything above the clamped values is ignored so you have a giant gap in your steering that does nothing.
An easier method is to use one single function block and just divide by 4. You can then adjust the steering to be ~4 times more sensitive to compensate if you feel that the steering is slow.
最近の変更はRa-Ra-Rasputinが行いました; 2021年10月6日 2時02分
pfl 2022年11月23日 14時03分 
yeah more a map than a clamp
< >
1-6 / 6 のコメントを表示
ページ毎: 1530 50

投稿日: 2019年3月12日 12時39分
投稿数: 6