question

Craig DIckson avatar image
0 Likes"
Craig DIckson asked Craig DIckson commented

Rotate TE without rotating item on board (like Kiva)

I am modeling a Kiva-like system, using task executers in an A* grid, and no diagonal travel. From an analysis perspective it works fine, but from an animation standpoint it's wrong because the cart being carried should not rotate when the TE does. Is there a setting for that? If not how would you approach this?

FlexSim 20.2.3
flexsim 20.2.3task executera starkiva
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

·
Phil BoBo avatar image
1 Like"
Phil BoBo answered Craig DIckson commented

In the On Pre Draw trigger of your task executer, you could just set the z rotation of the item to the negative of the task executer's z rotation:

Object item = current.first;
if (item) {
    item.rotation.z = -current.rotation.z;
}

unrotate_item.fsm


unrotate-item.gif (236.1 KiB)
unrotate-item.fsm (26.9 KiB)
· 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.

Craig DIckson avatar image Craig DIckson commented ·

Thanks, that looks like it should work. I was hoping it would be that easy!

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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