[ODE] Angular and "slider" motor together on one body.

honza at jikos.cz honza at jikos.cz
Sun Nov 21 01:32:27 MST 2004


Hello,
 i have one body in space and i want to control its behaviour using motors 
so i added one angular motor and attached it to body and to 0. It gave me 
ability to rotate with body but now i want to push it around.
So the first idea was to attach slider to body and to 0 and then using 
motor to push body around the world. (let's say i am happy with pushing 
only in the "heading" direction)  But this idea was obviously missbehaving 
somehow because when i attached slider joint to my body angular motor 
stopped working! :( (it looks like slider motor nullyfies angular motor 
strength)
 
So now i made workaround with dBodyAddForce in right direction but i would 
rather use motors is there some way to use both angular and slider (or 
another) motor?

Thank for help in advance
Jan Kratochvil

-- 


More information about the ODE mailing list