I was wondering how can i make the mechanics of bike controller. There are two ways: One way is to make a controller kinematic and move and animate everything through code.
Other way is to make a bike body dynamic rigid body using ammo bullet physics. I know bullet works on four tyres but i can place both front wheel and rear wheel on the same place to have a bike.
I just need a suggestion what would be better to do so that i can make a controller near to the bike controller of traffic rider.
Was just curious that Doesn’t dynamic rigid body causes problem in animating on update function?
Like sometimes it doesn’t work or sometime it act weird.
@saif We use the RaycastVehicle from Ammo. There is no active “jumping” in our game. It happens passively, when you drive over a ramp. The rotation/flips are implemented via the btBody.applyTorque method, also provided by Ammo.
If you have any specific questions, I’m happy to help.