COMMUNITY FORUM

Control header height with Joystick Axis

Forum Overview >> Farming Simulator 19

CategoryFarming Simulator 19
Created11.01.2021 15:42


Tom Stirnkorb (CR4NKH) 11.01.2021 15:42
Hello everyone,

my plan ist to control the header height on a combine with a joystick. I want the header to move to the absolute position of the joystick.
To do so, my quick and dirty way was to do something like this:
cutterAttacherJoint.lowerAlpha = keyStatus
the problem with this is, that when i switch the selection from combine to header or vice versa, the header jumps all the way up and then slowly lowers back down. Is there any function I could overwrite to avoid this?
I've had a look at AttacherJointControl, but I couldn't find any examples for it the way I intend to do.
So, what would be the best way to this?

Bilbo Beutlin (BBeutlin) 11.01.2021 17:45
For auto adaption to ground give the header or any tool a <heightNode> in xml <inputAttacherJoint> and in i3d and there is no need to bother about tool height.
The point is, if you manually control the tool, it will be overridden by a possible <heightNode>.


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