axus
12th February 2006, 14:38
What do these two vectors describe? Both are 3 Dimensional, so I would assume that the Forward-vector describes the direction of the car while the right-vector describes the rotation of the car around the center of gravity. However
For now remaining part is calculating wheel positions in world coordinates, necessary to get linear wheel accelarations. We start at X, Y, Z (RAF data block) which is the position of car's CoG. Also in RAF data blocks there are right-vector and forward-vector, which define car orientation in world coordinates. We can also get up-vector, which is cross product of right-vector and forward-vector. They must be all normalized (their lengths must be equal to 1). Then to CoG of car we add:
X (static wheel info) * right-vector
Y * forward-vector
(Z + suspension deflect) * up-vector
The result should be the position of a given wheel in world coordinates at a given time step.
the quote above is what w126 said when we were asking him about how to calculate the tyre load against the road surface for a calculation we wanted to do (Read full thread here (http://www.lfsforum.net/showthread.php?t=4375)). How would the right-vector then have anything to do with the positions of the wheels in the world cooridnates? And if my assumption is wrong, the why are both vectors 3 dimensional?
For now remaining part is calculating wheel positions in world coordinates, necessary to get linear wheel accelarations. We start at X, Y, Z (RAF data block) which is the position of car's CoG. Also in RAF data blocks there are right-vector and forward-vector, which define car orientation in world coordinates. We can also get up-vector, which is cross product of right-vector and forward-vector. They must be all normalized (their lengths must be equal to 1). Then to CoG of car we add:
X (static wheel info) * right-vector
Y * forward-vector
(Z + suspension deflect) * up-vector
The result should be the position of a given wheel in world coordinates at a given time step.
the quote above is what w126 said when we were asking him about how to calculate the tyre load against the road surface for a calculation we wanted to do (Read full thread here (http://www.lfsforum.net/showthread.php?t=4375)). How would the right-vector then have anything to do with the positions of the wheels in the world cooridnates? And if my assumption is wrong, the why are both vectors 3 dimensional?