question

Anna Kamphaus avatar image
0 Likes"
Anna Kamphaus asked Logan Gold commented

Rotating a "person" task executer visual

I wanted to make a model where I could create task executors in code. It wasn't obvious for me how to do so I used some of the new (to me) people activities. Then changed the 3D visual file to be objects more relevant to my model, I replaced the girl "person" flow item with a dump truck and the staff with a loader. This works well except for one issue with the "person" moving in the model.

I can't seem to control the direction the people(trucks) are facing. I have tried rotating this within the flow item and using a change visual activity but neither have the effect I want.

Can someone recommend another way I can change it so these appear to travel facing forward?trucks.jpg

processflow.jpg

FlexSim 24.0.2
flowitemspeople
trucks.jpg (184.2 KiB)
processflow.jpg (39.7 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.

Logan Gold avatar image Logan Gold ♦♦ commented ·

Hi @Anna Kamphaus, was Felix Möhlmann's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always comment back to reopen your question.

0 Likes 0 ·

1 Answer

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered

The main reason to use "Create Person" is to also automatically create a token in an Object Process Flow that is linked to the created task executer flow item.

Creating a task executer flow item and assigning it to a label on the token is just as easily done with the "Create Objects" activity.

1727078657929.png

If you want to create custom objects, I would recommend to add and customize them in the Flow Item Bin, rather than after creation.

1727078572261.png

After you apply a custom shape, make sure that it is oriented correctly relative to the coordinate system of the object. The 'forward' direction is the positive direction along the x-axis (red).

1727078560101.png

If the imported shape is pointing in the wrong direction, set the "Shape Factors" under "More Visuals" to correct this.

1727078614563.png



1727078560101.png (45.7 KiB)
1727078572261.png (25.6 KiB)
1727078614563.png (49.7 KiB)
1727078657929.png (17.6 KiB)
5 |100000

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