question

Akhil raja rao K avatar image
1 Like"
Akhil raja rao K asked Akhil raja rao K commented

walk loaded animation problem

I'm working on a model in which a person with an object (backpack) walks to the staff and shakes hand and walks to another waiting line. My requirement is, the person with the object should "walk" freely without walk loaded animation (As he is carrying a backpack, he no need to keep his hands in walk loaded state). Actually with this code "person.setVariable ("walkLoadedAnimation", "Walk");" I'm able to make the person walk even while holding the object (see fig.1), but after acquiring the staff and staff animations the person walks to the final waiting line with walkloaded animation as in the attached picture (fig.2). I need the person to walk normally while holding the object even after staff animations, I mean his hands should be down till the end waitingline. I've attached my model, please go through the attachment. staff-animation-acquiring.fsm

FIGURE :1 ( THE REQUIREMENT)

FIGURE 2: HAND LIFTING ANIMATION NEED TO BE REPLACED WITH NORMAL WALK AS FIG:1

FlexSim 20.0.0
process flowanimationanimationsperson flowstaff animations
5 |100000

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

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

The waiting line object wasn't using the person's walkAnimation or walkLoadedAnimation variables. We've fixed this in 20.0.2 which is now available for download.

· 1
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, many thanks.

0 Likes 0 ·
Cliff King avatar image
0 Likes"
Cliff King answered Cliff King edited

I'm not sure why changing the "walkLoadedAnimation" variable on the person doesn't continue to work through the person's time in the model. It's probably a bug that @Matthew Gillespie will need to address.

However, there is another solution. If you move the item (ie. backpack) into the person's drawsurrogate attribute (as I've done in the attached model), rather than into the person itself, then it works the way you want without the need to change the walkLoadedAnimation variable.

staff-animation-acquiring-rev-2.fsm


5 |100000

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