btGeneric6DofSpringConstraint apply torque
Posted: Sun Jul 06, 2014 10:44 am
Hi, im using libgdx to create a driving game.
I went through the raycast vehicle setup, but didnt like the way the wheels where simulated with rays instead of rigid bodies.
ive now recreated my veh with btGeneric6DofSpringConstraint connecting the wheels to the chassis. i have the wheels rolling and moving with the suspension.
im now trying to work out how to apply torque to the wheels to give power? after that will be the steering issue.
can any one steer me in the right direction? many thanks
I went through the raycast vehicle setup, but didnt like the way the wheels where simulated with rays instead of rigid bodies.
ive now recreated my veh with btGeneric6DofSpringConstraint connecting the wheels to the chassis. i have the wheels rolling and moving with the suspension.
im now trying to work out how to apply torque to the wheels to give power? after that will be the steering issue.
can any one steer me in the right direction? many thanks