View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0001684 | Spring engine | General | public | 2009-10-17 17:26 | 2011-01-15 05:24 | ||||
Reporter | spliff | ||||||||
Assigned To | jK | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | resolved | Resolution | fixed | ||||||
Product Version | 0.80.4.0 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0001684: Order waypoint markers not appearing in correct position | ||||||||
Description | I draw a box (made up of Spring.MarkerAddLine's). I then give an order to patrol the exact same set of coords and notice that the positions of the order waypoints are not visually aligned with the real order coords. It looks like the waypoint markers are drawn using a fixed Y (elevation) whereas the drawn lines and units are constrained to the ground height. The result of this is that when the camera is zoomed in the waypoint markers typically appear in different positions to where the units are really going. The offset varies from practically nothing to a gap large enough to fit 5 or 6 tanks side-by-side, depending on the zoom and camera angle. The fix for this is to align the drawn waypoints with the terrain height (sea floor for subs and amphib). | ||||||||
Additional Information | I've attached a PNG to illustrate this. The true patrol points are the corners of the thick blue box (marked as red dots). This is easily verified by watching where the unit turns. | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | |||||||||
Attached Files |
|
![]() |
|
spliff (reporter) 2009-10-18 04:44 |
I understated how inaccurate the points can get, especially when the camera is near the ground. Attached second PNG to demonstrate. The waypoint lines actually appear to indicate the unit should be traveling backwards when in fact the waypoint is ahead of the unit. |
jK (developer) 2011-01-15 05:24 |
I assume it was a precision issue in some math-ops (e.g. sqrt) |
![]() |
|||
Date Modified | Username | Field | Change |
---|---|---|---|
2009-10-17 17:26 | spliff | New Issue | |
2009-10-17 17:26 | spliff | File Added: incorrect_order_markers.png | |
2009-10-18 04:44 | spliff | Note Added: 0004230 | |
2009-10-18 04:45 | spliff | File Added: even_worse.png | |
2011-01-15 05:24 | jK | Note Added: 0006261 | |
2011-01-15 05:24 | jK | Status | new => resolved |
2011-01-15 05:24 | jK | Resolution | open => fixed |
2011-01-15 05:24 | jK | Assigned To | => jK |