[ODE] wheels attached at the wrong spot

Michael Lacher michael.lacher at hlw.co.at
Sun Apr 4 10:14:32 MST 2004


Ian McMeans wrote:
> Nope, removing that line of code didn't fix it.I added some code to draw the
> axles - the yellow line goes from the wheel centre to the anchor point. As
> you can see, it appears that the anchor point isn't fixed relative to the
> car body. It appears to stay within a certain radius of the car, though, and
> it doesn't move side-to-side much (right now, at least).
> 
> http://www.imageshack.us/my.php?loc=img2&image=axles1.JPG
> http://www.imageshack.us/my.php?loc=img2&image=axles3.JPG
> 
> 

Are you using drawstuff, or do you use your own drawing code ? maybe the 
simulationis right all along (the setup looks right anyway) but you are 
getting the rotation matrices transposed ... that would explain why your 
body is rotating in the wrong direction.

mucki



More information about the ODE mailing list