Community Forum

Components section of xml

Forum Overview >> Farming Simulator 19

CategoryFarming Simulator 19
Created23.11.2019 13:14

Bd Bdbssb (bdbssb) 23.11.2019 13:14
I find plenty of xml examples to look at however I cannot figure out what and how they are referencing things in the components section of the xml. I understand how to add the components in the xml and the i3d, however how are the components attaching to one another?

In this example I'm trying to attach component3 to component1, this example is not working obviously.

<component centerOfMass="0 .5 -1" solverIterationCount="30" mass="6700"/>
<component centerOfMass="0 0 0" solverIterationCount="30" mass="4300"/>
<component centerOfMass="0 .05 0" solverIterationCount="30" mass="2"/>
<joint component1="1" component2="2" node="frontAxisComponentJoint" rotLimit="0 0 5" rotLimitSpring="0 0 4000" rotLimitDamping="0 0 85" maxRotDriveForce="0 0 50" rotDriveRotation="0 0 0" rotDriveSpring="0 0 80" rotDriveDamping="0 0 50" breakable="false"/>
<joint component1="1" component2="3" node="mirrorAxis" rotLimit="15 15 15" transLimit="0 0 0" />

Bilbo Beutlin (BBeutlin) 23.11.2019 15:18
The components are attached/linked about the <joint ...> description. Here you can determine the "how to", eg. 'hard' attach or somehow flexible etc.
This attach is 'absolute', that means if you have moveable components, this must be declared in section <cylindered> under <movingTools> and/or <movingParts>.

Bd Bdbssb (bdbssb) 01.01.2020 20:45

Bd Bdbssb (bdbssb) 01.01.2020 20:45
Ty for the info. My issue was I had too small of a component. It wouldnt register correctly. It was very unstable.

Note: Log in to post. Create a new account here.