lil city,
To make your car move.
The problems that you are having are caused by the changes you made to CarSetup.py.
Suspension angle.
This is the angle the shocks etc hang from the frame of the car. You have set the suspension angle to be [ 0.0, 0.0, -0.005]. (To be honest I don’t know if that is an real angle.)
Change it to the minus Z-axis of the car.
CarSetup.py lines 145 - 148
# suspension angle from car object center
tire_0_suspensionAngle = [ 0.0, 0.0, -1.0] # front driver's tire
tire_1_suspensionAngle = [ 0.0, 0.0, -1.0] # front passenger's tire
tire_2_suspensionAngle = [ 0.0, 0.0, -1.0] # rear driver's tire
tire_3_suspensionAngle = [ 0.0, 0.0, -1.0] # rear passenger's tire
Tire axis attached to axle
This is the axis of the tire you want to attach to the car. You are attaching the tire axis [ -0.005, 0.0, 0.0]. (Again, I don’t know if that is an real angle.)
You want to attach the tires using the X-axis.
Use either the positive X-axis [ 1.0, 0.0, 0.0] or the negative X-axis [ -1.0, 0.0, 0.0] depending on how your tires are textured and if the force applied to the tires is negative or positive.
Attach the tires to the car using the positive X-axis
CarSetup.py lines 157 - 160
# tire axis attached to axle
tire_0_Axis = [ 1.0, 0.0, 0.0] # front driver's tire
tire_1_Axis = [ 1.0, 0.0, 0.0] # front passenger's tire
tire_2_Axis = [ 1.0, 0.0, 0.0] # rear driver's tire
tire_3_Axis = [ 1.0, 0.0, 0.0] # rear passenger's tire
Tire radius
You have the tire radius set to 0.01. The actual radius of your tires is 0.1485.
Change the code (lines 120 - 124) to the following
# tire radius
tire_0_Radius = 0.1485 # front driver's tire
tire_1_Radius = 0.1485 # front passenger's tire
tire_2_Radius = 0.1485 # rear driver's tire
tire_3_Radius = 0.1485 # rear passenger's tire
Make those changes and your car will move.
There are other things that you need to change (tire/car scale and car object center to name two) but it could be that you just haven’t gotten to them yet.
Clark