How can I create moving information plane?

How can I create moving information plane?

viktor_tt
Not applicable
458 Views
8 Replies
Message 1 of 9

How can I create moving information plane?

viktor_tt
Not applicable

[ FlexSim 18.0.1 ]

Hello!

In my model, I would like to create a moving information table connected to operators. (To show their current task over them)

Unfortunately, my solution doesn't really work.

1. I can't add any text message to "All around Billboard",

2. I moved a text into the billboard plane:

11291-bubble3.png


but it can't rotate together with the owner object:

11293-bubble-1.png

11292-bubble2.png

Have you any idea to solve this problem?

Thanks, Viktor

0 Likes
Accepted solutions (1)
459 Views
8 Replies
Replies (8)
Message 2 of 9

SCHamoen
Advisor
Advisor

@Viktor TT Have you tried using the ondraw of the operator and use commands like draw3Dtext and all the gl.. commands to create what you want?

0 Likes
Message 3 of 9

dawid_dabal
Not applicable
Accepted solution

Hi Viktor,

It would be much easier if you put Slide object into the operator instead of plane + text.

You can see this solution in attached model.

11297-psc-1.png

model-1.fsm

Message 4 of 9

philboboADSK
Autodesk
Autodesk

Attached is an example model (rotate-towards-viewpoint.fsm) that shows how you can rotate an object towards the camera viewpoint by using the following code in its Custom Draw trigger:

current.rotation = [90+viewpointrx(view).value, 0, viewpointrz(view).value];

11299-rotate-towards-viewpoint.gif



Phil BoBo
Sr. Manager, Software Development
Message 5 of 9

viktor_tt
Not applicable

@steven.hamoen Many thanks for your idea. To be honest, I've never used this drawing commands before, but I will take a look on them!

0 Likes
Message 6 of 9

viktor_tt
Not applicable

@Dawid Dabal Thanks for your answer! You respond me as fast as usual. It's good, easy and simple! 🙂

0 Likes
Message 7 of 9

viktor_tt
Not applicable

@phil.bobo Thank you for your idea, especially for creating some attachment! I like your solution, I will keep it in my mind!

0 Likes
Message 8 of 9

viktor_tt
Not applicable
11298-rotate-towards-viewpoint-re.fsm @phil.bobo

Update: I sent back your model, pls take a look on it. You moved the text into the operator, so FlexSim had the idea the OP is LOADED, so if the operator move in the simulation, it will use the "WalkLoaded" animation to walk.

0 Likes
Message 9 of 9

philboboADSK
Autodesk
Autodesk

You can move the Text out of the operator and set its location and its rotation:

Object operator = model().find("Operator1");
current.rotation = [90+viewpointrx(view).value, 0, viewpointrz(view).value];
current.location = operator.location;
current.location.z += 3;

11307-11298-rotate-towards-viewpoint-re.fsm



Phil BoBo
Sr. Manager, Software Development
0 Likes