View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0001599 | Spring engine | Lua | public | 2009-08-26 23:02 | 2013-01-20 15:40 | ||||
Reporter | tvo | ||||||||
Assigned To | Kloot | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | resolved | Resolution | fixed | ||||||
Product Version | 0.80.2.0+git | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0001599: Spring.GetFeatureDirection returns direction in x,z plane only | ||||||||
Description | It returns the direction from the heading only. (It seems CFeature has no pitch member.) This is not really expected behavior, since the y component (always 0) is returned by the function, and because Spring.SetFeatureDirection(f, Spring.GetFeatureDirection(f)) isn't a no-op now. (It turns the feature upright.) Besides that if you really want the current behavior, you can use Spring.GetFeatureHeading and calculate just the x and z components yourself. [x]very_bad_soldier reported this. | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | |||||||||
Attached Files |
|
![]() |
|
imbaczek (reporter) 2009-08-29 02:03 |
checked this, apparently features don't have frontdir and friends, they only have the (2D) heading and a draw transformation matrix which doesn't seem to be used in sim code. |
![]() |
|||
Date Modified | Username | Field | Change |
---|---|---|---|
2009-08-26 23:02 | tvo | New Issue | |
2009-08-29 02:03 | imbaczek | Note Added: 0004014 | |
2013-01-20 15:40 | Kloot | Changeset attached | => spring develop 3e7c756e |
2013-01-20 15:40 | Kloot | Assigned To | => Kloot |
2013-01-20 15:40 | Kloot | Status | new => resolved |
2013-01-20 15:40 | Kloot | Resolution | open => fixed |