Stormworks: Build and Rescue

Stormworks: Build and Rescue

评价数不足
Physics Bomb Sight Pt2
   
奖励
收藏
已收藏
取消收藏
Vehicles: Air, Creative
Microcontrollers: Calculation, Microcontroller
标签: v0.7.8
文件大小
发表于
更新日期
18.327 KB
2019 年 6 月 2 日 下午 3:26
2019 年 6 月 2 日 下午 3:38
2 项改动说明 ( 查看 )

订阅以下载
Physics Bomb Sight Pt2

描述
This is probably the first ever controller of it's kind on Stormworks.

A bomb sight, that's right!
Thanks to the addition of cameras :D

This controller is basically two physics equations: d=Vt and t=sqrt(2x) / sqrt(a)

Those two equations will find the distance that the bomb can travel at given speed and altitude. Afterwards I just used some math to figure out the angle for camera to pitch.


Just note that you need to use a robotic pivot and a stationary camera. Don't use the Gimbal camera because it has funky rotation values.

Also here's the link to my first bomber equipped with this sight, try it out. :)
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=1759482169
20 条留言
Random 3 月 4 日 下午 11:28 
For anybody do not use this!, make your own (I have had my troubles with it and is forced to use it due to having no idea how lua works), But!, Altitude is a dead end so it wont caculate your altitude as it does nothing. This does not know the mass or drag off the bombs, so it will most likely always miss.
Cove 2024 年 6 月 24 日 下午 10:13 
it would be nice if this had a property slider for fine tuning biased on a bombs weight / drag
!GoogleTime34! 2024 年 3 月 26 日 下午 5:28 
edit the altitude doesn't do anything
the equation in the function for the altitude is literally luca private creation so better
!GoogleTime34! 2024 年 3 月 26 日 下午 5:17 
you forgot to connect the altitude in the micro controller BTW
Security Cam #01 2023 年 12 月 26 日 下午 7:42 
making a generic Tupolev jet plane, thanks for posting this, it'll really help!
listopad09 2023 年 8 月 8 日 上午 2:40 
boy i cant wait to use this on my b-29 im working on rn
But Hull 2022 年 12 月 13 日 下午 2:45 
Amazing mic can i use it on my plane
Secret176 2022 年 11 月 27 日 上午 7:13 
does it still work cuz i tested the bomber and it didn't hit it had an error of about 400m
wdubois.slz 2022 年 11 月 10 日 上午 11:07 
Does it matter if you place it forward facing or downward facing?
warppioneer 2022 年 11 月 7 日 下午 4:35 
Thanks a lot for this, must have@