Space Engineers

Space Engineers

[Obsolete] Cruise Missile Script Mk2
Viiranin 2015 年 11 月 24 日 下午 1:42
When coords are entered, the missile invariably misses its mark... by a lot
Hello! Whenever I enter the coords of a base on a planet, for instance, from space-- or anywhere for that matter, the missile seems to miss its mark by hundreds, if not thousands of meters. I always check to see if the coords entered are correct, and sure enough they are. This missile follows your first video. I will edit this with a video of what I mean.
< >
正在显示第 1 - 2 条,共 2 条留言
Viiranin 2015 年 11 月 24 日 下午 2:40 
Edit I / II (After EII was filmed) I decided to put a seat on my missile. I followed it to its target and it misses its mark by ~10,000m
Alysius  [开发者] 2015 年 11 月 25 日 上午 4:41 
Problem found. Because all testing is based on missile continously reading coordinates from Text Panel. In this case, only one coordinate is read, forgotten to initialize the lastTargetPosition to be same as input coordinate, causing the script to think target is moving from 0,0,0 to the coordinate you entered. So the script is actually leading the supposedly "moving" target. Fixed in this update.
< >
正在显示第 1 - 2 条,共 2 条留言
每页显示数: 1530 50