Code: Select all
this.frictionSlip = 10000.0f;
this.suspensionRestLength = 0.2f;
this.suspensionStiffness = 500.0f;
this.wheelnDampingCompression = 3.3f;
this.wheelDampingRelaxation = 1.0f;
this.rollInfluence = 1.0f;
this.mass = 1500;
//physicsInfo.center - center of wheel
final Vector3f connectionPointCS1 = new Vector3f(physicsInfo.center.x, 0.2f, -physicsInfo.center.z);
Vector3f wheelAxleCS = new Vector3f(1, 0, 0);
Vector3f wheelDirectionCS = new Vector3f(0, 1, 0);
vehicle.addWheel(connectionPointCS1, wheelDirectionCS, wheelAxleCS,
carConfiguration.getSuspensionRestLength(), 0.5f, tuning, front);
connection points:
wheel1: (-1.1999999, 0.2, 1.7)
wheel2: (1.1999999, 0.2, 1.7)
wheel3: (-1.1999999, 0.2, -1.7)
wheel4: (1.1999999, 0.2, -1.7)
Ground: box top side has y = 0
Have you any ideas how to solve it? Could you give me parameters from your programs?