Space Engineers

Space Engineers

[Obsolete] Cruise Missile Script Mk2
Viiranin 24 Nov, 2015 @ 1:42pm
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.
< >
Showing 1-2 of 2 comments
Viiranin 24 Nov, 2015 @ 2:40pm 
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  [developer] 25 Nov, 2015 @ 4:41am 
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.
< >
Showing 1-2 of 2 comments
Per page: 1530 50