2025-07-27 18:51 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0001599Spring engineLuapublic2013-01-20 15:40
Reportertvo 
Assigned ToKloot 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
Product Version0.80.2.0+git 
Target VersionFixed in Version 
Summary0001599: Spring.GetFeatureDirection returns direction in x,z plane only
DescriptionIt 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.
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes

~0004014

imbaczek (reporter)

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.
+Notes

-Issue History
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
+Issue History