btRaycastVehicle and rigid body over it issue

Post Reply
gdlk
Posts: 62
Joined: Fri Oct 24, 2014 7:01 pm

btRaycastVehicle and rigid body over it issue

Post by gdlk »

Hi!

I have a issue with the btRaycastVehicle and I am short on ideas to resolve it =( ...

I have a vehicle working. However, with the vehicle stopped, if I put over it a rigid body with a mass "comparable" to the vehicle mass (for example if the vehicle mass is 2700, any mass over 300 will show the issue, the CM must be offset respect to the CM vehicle ) and I move the wheels (any steer angle) or use the brake, the vehicle start moving alone (the direction that vehicle move depends on the steer angle). The issue is present with the SI solver and the MLCP solver.

I check the impulses apply by suspension and friction concepts on the updateVehicle method of the btRaycastVehicle, and I can't find any unusual value ( initially I though the issue could be by insufficient friction or some related with the wheels( some problem with the raycast), but I can't found any unusual on that D= )

Any idea what could be or where I could continue watching?

Thanks!!

Regards!!
Post Reply