question

Kari Payton avatar image
2 Likes"
Kari Payton asked Phil BoBo commented

Is there a way to follow a transporter around during model run?

I want the camera to follow a transporter around as it moves throughout the model. The view would stay fixed on the transporter.

FlexSim 16.2.1
transportervrflypath1st person
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
7 Likes"
Phil BoBo answered Phil BoBo commented

Attached is an example model with custom code in the Transporter's Custom Draw trigger that sets the view's viewpoint to the location of the transporter while the model is running:

  1. if (getrunstate()) {
  2. set(viewpointx(view), xloc(current));
  3. set(viewpointy(view), yloc(current));
  4. }


· 4
5 |100000

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