question

Michael Kramer avatar image
0 Likes"
Michael Kramer asked Benjamin W2 edited

How can I change the height of forks on lift truck?

All I want to do is to set the forks higher and it keeps setting them back down again. I don't want to do any fancy animations, just needs to set the forks to custom height and have them stay there.

FlexSim 20.1.3
flexsim 20.1.3transporteranimation
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Benjamin W2 avatar image
0 Likes"
Benjamin W2 answered Benjamin W2 edited

Hi @michael.k5,

I don't think there is an easy way to do this with the transporter. From what I understand, the forks are controlled by animations. You can set the height with:

  1. <Insert FL Reference Here>.as(Object).setVariable("forkinitialheight", 1.5);"

however this will be overwritten as soon as you reset or the loading event occurs.

Depending on how important this is to your model, you might be better off creating a custom 3d shape of a forklift with the forks set to the height you want, then importing that 3d shape into a basic task executor.

· 2
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.