Log in to reply

vecCentreOfMassOffset - Is the offset from the model's origin?

  • A wiki states a value of 0 sets the centre of gravity at the centre of the vehicle. Is the centre determined by the origin of the vehicle model or by the centre of the extremes of the model? The former makes more sense to me, but what do I know?


    @Markk are you trying to adjust handling? If so what is the vehicle doing?

  • Yes, I am trying to adjusting handling. I have not made any changes yet. I decided to ask here before using trial and error to figure things out.


    @Markk what are trying to do with the car?

  • It is an add-on vehicle. The handling it comes with is quite poor in terms of realism. I want to completely re-configure the handling. I have a base but it needs a lot of tweaking still since the base is from a different vehicle. I am just getting into it; I still have a long way to go to figure out how the individual values affect everything. I hope that by using as much real data as I can to set the values, the physics engine will provide at least semi-realistic handling given the realistic inputs.


    @Markk I see, you'll be busy for a while bro, I spent hours tweaking different cars handling, after the first one you'll get pretty quick

  • @Markk you need to install this mod then if you are adjusting handling of a vehicle.


    no other mod comes close to what this one does. It will allow you to edit the handling in real time while in game. I suggest making edits in increments of 0.1 , 0.15 , or 0.2 while testing out areas to edit in a car handling. I usually only edit between 5-8 sections of the whole handling file.

    InitialDriveForce is for acceleration
    fDriveInertia is for Torque of the car, how fast it revs up. Usually dont need to adjust that value much.
    InitialDriveMaxFlatVel is top speed of car i recommend values around 240-300 depending on the car.

    TractionCurveMax this will help how loose or tight the car takes turns at moderate speeds. Its cornering grip.
    TractionCurveMin this is more of off the line traction and braking traction. I dont recommend going over 2.20 on this one.
    TractionCurveLateral sometimes you can tighten up the grip overall by raising this value. I recommend increasing 1.0 or 2.0 over the current value because you wouldnt notice this one if you do it in small increments.
    CentreOfMassOffset if your car flips over around turns or gets on 2 wheels around a corner try messing with this value.
    y= and z= are the only ones i mess with. First try settings them both at 0.0 and see if that keeps the car on the ground.

    So y="0.000000" z="0.000000" />

    if that doesnt work try y="0.050000" z="-0.100000" />

    fMass value this is the weight of the car. I always increase this by 200-500 and helps the car corner better and act more stable. Another benefit is you can also keep your car from instantly flipping over freeway walls by increasing the weight of your car.

    SteeringLock i usually set this at either 36 38 or 40.

    DriveBiasFront if your car spins out around corners or is super loose try changing the value from 0.0 to 0.2 or 0.25. This will help make rear wheel drive cars back end have more control. if your car flips around a corner this wont help it. I fine tune this option usually after i have adjusted the other values above first.

  • @Willief23 Thanks for all of the information. I do not know why I spent so long testing handling without using a mod like that. Just tried out ikt's mod but it was crashing. If I can't get that sorted out I will try what you linked.

    However, at the moment I will work on writing a simple mod to help me with testing because I cannot find one that does everything I want. Mainly focusing on testing speed and acceleration right now, though I do need to look into how suspension and traction especially affects speed and acceleration.

  • @Markk that mod i linked will allow you to change the whole handling file while inside the game. No other mod can do that.


    Drive modes should have it all.

  • @ikt Haha the author of Drive Modes recommends your mod and now you are recommending his/hers. I'll give it a shot then.

  • @Willief23 thanks!!! !

  • @Willief23 @Markk fMass only effect the weight of the vehicle at collisions and at sinking when you end up in ocean. If the value is high enough, you can stand in front of an npc vehicle and you can push it to backwards when you accelerate and higher the value higher the damage you can inflict to other vehicles at collision. Also the higher the value the faster it sinks at ocean.

    Drive Modes have some handling lines indeed missing unfortunately. Haven't tested ikt's one.

    Be careful with TractionCurveMin. I have tried to increase it to get a better grip while braking however it messed something up pretty bad and caused after a slide car was quickly reaching to about 130 mph on it's own eventhough I slide with at 20-30 mph..

    Take a look at these 2 sites;

    They both pretty much the same but one has a bit more and clearer explanation which the other one doesn't at some parts.

    By the by, this is my personal experience if you would like to listen but your case might be entirely different (If you don't plan on uploading the handling). I was using BMW M8 but didn't like it's handling. I was tuned it to my liking but at the very end I was stuck at grips.

    The problem was, car is sliding so easily at turns even at medium speeds and is going out of control instantly ..
    If I increase TractionCurveMax a lot, car handles better at corners but losses only a little bit speed and that was causig the vehicle quickly rollover. I did some changes in anti roll values but couldn't manage to fix that.
    Tried increasing the TractionCurveMin, it helped a bit too but at the cost of car was accelerating like a jet and stopping like superglued on ground.
    Anywho after all that I gave up and a month later I saw a car video and the guy had ikt's Manual Transmission mod. Never knew that mod had lots of very realistic vehicle features and all those drive assists.

    I was normally using that car as rear wheel drive only (was tried all wheel drive too while adjusting handling and it didn't work) because how rockstar stupidly made awd cars .. They are like made of not to turn at all or drift at all... but that mod with especially Adaptive AWD and traction control feature and other features (as minor but good changes) made this car almost identical to how it is in real life. I made the <fDriveBiasFront value="0.200000" /> though which is the realistic transmission distribution at 4WD Sport mode for BMW M8 (80% rear wheels, 20% front wheels). Car is turning corners at high speeds very realisticially with a little sliding without the lose of control now. At normal speeds there is no sliding at all.

    But like I said, if you want a totally realistic experience, you might still need to tweak the handling values here and there and it depends on vehicle itself too. But seriously, try out that mod. https://www.gta5-mods.com/scripts/manual-transmission-ikt

Log in to reply

Looks like your connection to GTA5-Mods.com Forums was lost, please wait while we try to reconnect.