Community Forum

What is a delayed attacher joint

Forum Overview >> Farming Simulator 19

CategoryFarming Simulator 19
Created12.04.2020 06:37


Liam Moffat (sharks97) 12.04.2020 06:37
Hi there i have a skid loader mod for the game and every time i lift the arm up and down its delayed enough that that you and can see the buck levitate for a couple of milliseconds. I was told it was a delayed attacher joint but not given enough information on how to fix it


PS Im still vary new to modding/editing

Bilbo Beutlin (BBeutlin) 12.04.2020 08:27
I'd guess the one who told you this, isn't just an expert. *g*

There are several parameters which describe the attacher physics to achieve a natural behaviour, for the inertness the attributes of spring and damping.
By default is (without explicite description)
<attacherJoint .. rotLimitSpring="0 0 0" rotLimitDamping="1 1 1" transLimitSpring="0 0 0" transLimitDamping="1 1 1"
In this case the attached object follows noticeable delayed.

Of course such looks very ugly if a fixed connection is simulated. Then use enhanced values like
<attacherJoint .. rotLimitSpring="7500 7500 7500" rotLimitDamping="5 5 5" transLimitSpring="7500 7500 7500" transLimitDamping="5 5 5"

If the vehicle has moved, attached components, these values have to be in the <base> <components> description, eg.
<joint .. rotLimit="0 0 10" rotLimitSpring="0 0 4000" rotLimitDamping="0 0 75"

For reference see game default vehicles.

Liam Moffat (sharks97) 14.04.2020 03:05
ok ive tried changing in the xml

From this
<attacherJoint .. rotLimitSpring="7500 7500 7500" rotLimitDamping="5 5 5" transLimitSpring="7500 7500 7500" transLimitDamping="5 5 5"
To this
<attacherJoint .. rotLimitSpring="0 0 0" rotLimitDamping="1 1 1" transLimitSpring="0 0 0" transLimitDamping="1 1 1"

but when i get it back in the game and it doesnt attach to any of the skid steer forks or buckets

Liam Moffat (sharks97) 14.04.2020 03:14
ok ive tried changing in the xml

From this
<attacherJoint .. rotLimitSpring="7500 7500 7500" rotLimitDamping="5 5 5" transLimitSpring="7500 7500 7500" transLimitDamping="5 5 5"
To this
<attacherJoint .. rotLimitSpring="0 0 0" rotLimitDamping="1 1 1" transLimitSpring="0 0 0" transLimitDamping="1 1 1"

but when i get it back in the game and it doesnt attach to any of the skid steer forks or buckets

Bilbo Beutlin (BBeutlin) 14.04.2020 03:17
If the attacher doesn't work anymore, you did something wrong. Probably improper xml tag.
Look into log for errors/warnings.

Liam Moffat (sharks97) 14.04.2020 03:54
ok got it to attach to the bucket but im back at the same problem

heres the whole line from the xml

<attacherJoints comboDuration="2">
<attacherJoint node="0>2|1|0|0|0|4" jointType="skidSteer" allowsJointLimitMovement="false" allowsLowering="false" rotLimitSpring="0 0 0" rotLimitDamping="1 1 1" transLimitSpring="0 0 0" transLimitDamping="1 1 1">
<schema position="1 0.4" rotation="0" invertX="true"/>
</attacherJoint>

Bilbo Beutlin (BBeutlin) 14.04.2020 06:01
You didn't read my 1st post exactly.
With these (default) values the attacher is elastic, attached part reacts very delayed. You must enhance these values to get a more stable connection.

In some cases the attacher is also referenced in the <movingParts> section. You might have to adapt some values also there.

Compare your mod with a similar default vehicle and adapt the values accordingly.


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