[ODE] Angular and "slider" motor together on one body.
Geoff Carlton
gcarlton at iinet.net.au
Tue Nov 23 09:33:07 MST 2004
What you describe is a linear motor, and has been discussed before
(search for LMotor), but never implemented. As such, you can either
create such a joint using the resources posted in the other reply (if
you do, submit it so we can all use it!), or keep using the AddForce
approach you are doing now.
Geoff
honza at jikos.cz wrote:
>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