| Category | Farming Simulator 25 |
| Created | 28.07.2025 19:55 |
| Herr Löblich (herrloeblich) | 28.07.2025 19:55 |
|---|---|
| Hi. I'm trying to figure out how the game calculates total vehicle mass when using multiple components connected by joints. I'm seeing results that don't add up even when the math looks right. Example: - Two components with a total declared mass of 6150 - Four wheels with known mass of 1160 - Total expected mass (based on above mass): around 7310 - Actual mass shown in game: 7510 When I reduce the declared component mass by over 1000 to target exactly 5010 (which + 1160kg of wheels should be exactly 6170kg ingame), the game still reports 7139kg total mass ingame (with wheels, without fuel) - which doesn't make sense. Also strange: - Changing the ratio between front and rear components (same total mass) changes the result - With only one component, the mass is correct - As soon as joints are used, the mass seems to increase too much AND changes incomprehensibly when changing the font/back ratio without altering the total weight Any idea what causes this? Known behavior? Or is there something else being added to the calculation? Thanks! |
|
| Herr Löblich (herrloeblich) | 28.07.2025 19:56 |
|---|---|
| Additional context: Here’s the original XML setup I tested: <components> <component centerOfMass="0 0.9 -0.12" solverIterationCount="10" mass="4150"/> <component centerOfMass="0 0.2 0.4" solverIterationCount="20" mass="2000"/> <joint component1="1" component2="2" node="frontAxisJoint" rotLimit="0 0 11" /> </components> Target values: - 3381 kg rear + 1629 kg front = 5010 kg component mass - 1160 kg wheel mass (from wheels.xml) → Total expected ingame weight: 6170 kg But in-game debug still shows 7139 kg Confirmed so far: - Vehicles with a single <component> behave as expected – mass adds up correctly - Multi-component setups connected via <joint> inflate the total mass So I'm wondering: - Is this a PhysX artifact (e.g. joint constraint mass penalty)? - Does <joint> introduce hidden mass or physics artifacts? - Are there best practices for accurately predicting mass with multiple components? Appreciate any insights! |
|
Note: Log in to post. Create a new account here.