question

Kari Payton avatar image
0 Likes"
Kari Payton asked Cliff King commented

Set view on video recorder as first person from operator.

How can I use the video recorder to record from the first person view of the operator?

FlexSim 17.2.2
video recorder
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

Jacob Gillespie avatar image
4 Likes"
Jacob Gillespie answered Cliff King commented

The easiest way to do this is to tell the view to follow the operator before telling it to record.

If you want to start following at certain point during the model run then you would have to use the function_s api.

  1. function_s(view, "follow", object); // Pass in NULL to stop following
  2. function_s(view, "setFollowRotate", boolean);
  3. function_s(view, "setFollowFirstPerson", boolean);

Another tricky thing is that the video recorder creates its own hidden 3D view on which you also need to call follow.

If this is my 3D view:

  1. VIEW:/some/path/Perspective

The hidden 3D view will be something like this:

  1. VIEW:/some/path/Perspective/RecordingPopup2412423376/recview

I will change this so that follow will call itself on the hidden 3D view. This change will be in the next bugfix: 17.2.4


follow.png (13.7 KiB)
· 2
5 |100000

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