User mods, screenshots & videos > Vehicles

When I brake....

(1/2) > >>

patmarrnc:
When I brake, the front end should dip as the shocks absorb the forward energy...

However, in my case, the front end lifts up when I brake.  I have changed just about every variable in my script to no avail. I've looked at other scripts for clues... but now I'm out of ideas.

Can anybody tell me what variable affects this?

KW71:
Hi, Patmarrnc!
Perhaps some inverted axis in your model?

cameni:
Maybe the center of mass is below the axles - that would explain it.

patmarrnc:

--- Quote from: cameni on December 20, 2017, 01:03:43 am ---Maybe the center of mass is below the axles - that would explain it.

--- End quote ---
That makes perfect sense... but it never would have occurred to me in a million years!  I bow to your excellent analytical thinking! Thank you!

Update:  I changed the model but front end still lifts upon braking

perhaps this error is significant?

00:34.188 INFO: Uploading package to GPU "patmarrnc/REDCAR_BLENDER"...

00:34.202 ERROR: center of mass clamped to the object's bounding box, from: x=0.054754, y=-0.053339, z=1.169973  to: x=0.054754, y=-0.053339, z=1.145915

05:21.046 ERROR: center of mass clamped to the object's bounding box, from: x=0.054754, y=-0.053339, z=1.169973  to: x=0.054754, y=-0.053339, z=1.145915

07:22.834 ERROR: center of mass clamped to the object's bounding box, from: x=0.054754, y=-0.053339, z=1.169973  to: x=0.054754, y=-0.053339, z=1.145915

08:48.147 ERROR: center of mass clamped to the object's bounding box, from: x=0.054754, y=-0.053339, z=1.169973  to: x=0.054754, y=-0.053339, z=1.145915

cameni:
Right, it means the COM z coordinate is originally even outside the bounding box.
In vehicles the model pivot equals the COM, but it can be also adjusted by 'com' offset returned from init_vehicle.

Navigation

[0] Message Index

[#] Next page

Go to full version