Battlefield Modding Tutorials BFMODS
https://battlefieldmodding.com/ssm/phpBB3/

Center of Mass Offset 0/1/0 Question
https://battlefieldmodding.com/ssm/phpBB3/viewtopic.php?f=3&t=2563
Page 1 of 1

Author:  VOLTANO [ Fri Dec 29, 2006 5:49 am ]
Post subject:  Center of Mass Offset 0/1/0 Question

When driving a fast car or high performance sports car, the center of gravity or the vehicle's weight distribution is designed to be as low as possible to increase traction and handling during fast turns to keep the car from tipping over while maintaining optimum grip to the road surface.

In the BF1942, Desert Combat, DC_Extended Objects Vehicles/land folder, there are several land vehicles ( pantsyr, ural, landrover ) that have this line of code in their Objects.con file ;

ObjectTemplate.centerOfMassOffset 0/1/0

I am sure that some of you noticed that these vehicles with the above code have a tendency to tip over while turning at full speed.

Most likely, this code was added to simulate realistic vehicle handling during cornering.

Referring to vehicle coordinates;

1/2/3

1 = Left/Right
2 = Up/Down
3 = Forward/Back

:?: Therefore, in order to lower the vehicles center of gravity or mass, would the following code be valid ? :?:


ObjectTemplate.Active Landrover
ObjectTemplate.centerOfMassOffset 0/-1/0


or

ObjectTemplate.Active Landrover
ObjectTemplate.centerOfMassOffset 0/0/0



In our BF1942/DC/DCF/DCX game server, we like to make all vehicles fast with good handing. 8-)

Has anyone here ever tweaked this code to make the land vehicles handle better for steering without them tipping over ?

I thank you all for the good advice you have provided us with. :D 8-) :wink:

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/