I run the vehicle demo application using CodeBlocks+Mingw, the trouble is the vehicle is vibrating. And the vibration is greater when my vehicle go faster.
Here is my source code (using freeglut/opengl as renderer). The source is a compressed version of the famous raycast vehicle demo (no more DemoApplication, GlutDemoApplication, DebugDraw, debugmode; VehicleDemo is no more a derived class of them, GlutStuff call VehicleDemo directly)
Do you think the vibration of the vehicle/whells come from bad implementation of internal Raycasting or it is from suspension data??
Why raycast vehicle are vibrating?
Why raycast vehicle are vibrating?
- Attachments
-
- vehicleTest.rar
- Raycast Vehicle Demo
- (882.16 KiB) Downloaded 240 times
Re: Why raycast vehicle are vibrating?
It's fily solved, i found a post in here suggesting to set maxSubSteps = 15, and using framerate dt = 1/120;
Really nice o more wheels vibration
Really nice o more wheels vibration