question

Akhil raja rao K avatar image
0 Likes"
Akhil raja rao K asked Matthew Gillespie commented

How to remove hand lifting animation while carrying object ?

I'm doing a process flow in which a person carrys a bag from a Queue and drops at another queue then walks to another destination. I've kept bag to the person as shown in the figure using change visual.

The problem here I'm facing is - As I've kept the bag position on to his shoulders, while walking I don't want his hands to be like he is lifting an object (which happens in the normal case). I want the person to walk normally with the bag in shoulders, i.e,. his hands should be down. I'm attaching my model, please find the attachment.

animation-problem.fsm

FlexSim 19.2.3
processflowanimationpeople modulecreate objectcreate objects
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

Matthew Gillespie avatar image
0 Likes"
Matthew Gillespie answered Matthew Gillespie commented

You could play the WalkWithBriefcase animation before walking which will override the WalkLoaded animation since it's lower in the list of animations:

walkwithbriefcase.fsm

In 20.0 there's a new feature that lets you set a variable on the person to say which animation is should use for it's walking loaded animation. You just need to set the walkLoadedAnimation variable to the name of the animation you want it to play:

Object person = token.Person;
person.setVariable("walkLoadedAnimation", "WalkWithBriefcase");

walkwithbriefcase2020.fsm


· 6
5 |100000

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

Akhil raja rao K avatar image Akhil raja rao K commented ·

@Matthew Gillespie Sir, I've tried to replicate the same model again but the "walk with briefcase" animation is not running in my model. I'm attaching my model. Please find the attachment.

answer-model.fsm

0 Likes 0 ·
answer-model.fsm (37.6 KiB)
Matthew Gillespie avatar image Matthew Gillespie ♦♦ Akhil raja rao K commented ·

There are two things you need to change:

1) You misspelled WalkWithBriefcase in the Custom Code activity.

2) You need to set the WalkWithBriefcase animation to be Travel-Distance Based in the Time Basis drop down of Quick Properties. So open the Animation editor, find the WalkWithBriefcase animation, and in Quick Properties set it to be Travel-Distance based:

traveldistance.png

0 Likes 0 ·
traveldistance.png (7.5 KiB)
Akhil raja rao K avatar image Akhil raja rao K Matthew Gillespie ♦♦ commented ·

@Matthew Gillespie thank you very much sir.

0 Likes 0 ·
Show more comments
Akhil raja rao K avatar image Akhil raja rao K commented ·
@Matthew Gillespie

How to update Flexsim to 20.0 version. Shall I need to uninstall and download latest version from website and reinstall?

0 Likes 0 ·
Matthew Gillespie avatar image Matthew Gillespie ♦♦ Akhil raja rao K commented ·

You don't have to uninstall 19.2 since 20.0 will be a separate application and you can have both installed at the same time. But you can uninstall it if you don't want both.

Yes, just download the latest version from the website.

1 Like 1 ·