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?
-
- Posts: 6
- Joined: Thu Sep 04, 2014 1:23 pm
Why raycast vehicle are vibrating?
You do not have the required permissions to view the files attached to this post.
-
- Posts: 6
- Joined: Thu Sep 04, 2014 1:23 pm
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