My wheels are sinking through the ground on my "car" nomather what I do!
I'v read and tried:
You need to increase the suspension stiffness, max travel or suspension length.
This is just bull!
I took and increased all values together and seperatly by 100000 times it's normal value, Still it doesnt work!!
And I'v decreased the size of the car to less that is used in the example!! :x
Nothing helps, have someone ever succeded in using this? :|
Yes, I have. It is very sensitive I have to admit, but that is bullet vehicles…
The stiffnes, damping and compression values have a very intimate relationship. This is best explained in the javadoc of the setCompressionDamping() method here: javadoc and also in the wiki here: wiki page
What is the weight of your car? Did you lower the accuracy of the PhysicsSpace? Did you really try to tune the settings? In my example you should try to set the damping to maybe 0.5 and the compression to 0.2, the stiffness should maybe be 80 or something as a start.
0.1kg is also a very low weight, maybe you fiddle with that as well, as I said its very sensitive. But I can assure you it works. Look at this Youtube vehicle demo video. The car has a mass of 600, stiffness of 80 and comp/damp are at 0.2/0.5 I think. But when I change the values too much it starts to wiggle or sink.
Your car has just *one* wheel?? If it is really like that, this might be the source for your problem. Jezek, the jbullet developer mentions in the code that vehicles with a different number of wheels than four might have problems..
but just to let you know, even the tutorial for vehicle physics nodes sinks through ground..
You mean the TestSimplePhysicsCar.java example?
Then I am quite sure that you have a different jbullet.jar version in your project than the one that is supplied with jbullet-jme.