Jump to content

Archived

This topic is now archived and is closed to further replies.

Paul-Henri

Selection of a camera for SimConnect_CameraSetRelative6DOF use

Recommended Posts

Hi,

 

When I use SmConnect_CameraSetRelative6DOF function, I can change the camera position. I my FSX display, I have 3 views (one for the left, one for the front and one for the right).The mentionned simConnect function only acts on the front view. Does somebody know how to move camera of another view (using this function or another) ?

 

Thank you !

Paul-Henri

Share this post


Link to post
Share on other sites

Half of my answer may be useful to you, the other half not....

 

The maybe not part.

Move to P3D because they have continued to expand Simconnect and have useful functions like setting 6DOF by camera name.

 

The maybe part.

If your views are all the same camera and you have linked them, then sending 6DOF to the main view may automatically move the others since they are linked.

 

fsx_simconnect.MapClientEventToSimEvent(EVENT_ID.EVENT_LinkingSet, "VIEW_LINKING_SET")
fsx_simconnect.MapClientEventToSimEvent(EVENT_ID.EVENT_LinkingToggle, "VIEW_LINKING_TOGGLE")

 

I find linking problematic in that it is erratic in knowing which views should be linked and sometimes will leave one unlinked, or fail to unlink it if you change the view to a different camera. The way to prevent this seems to be to Ctrl Tab cycle through all the views after linking/unlinking. This can be done with SendKeys with a brief delay between each successive Ctrl Tab.

 

Share this post


Link to post
Share on other sites

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
  • Donation Goals

    AVSIM's 2020 Fundraising Goal

    Donate to our annual general fundraising goal. This donation keeps our doors open and providing you service 24 x 7 x 365. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. We reset this goal every new year for the following year's goal.


    18%
    $4,640.00 of $25,000.00 Donate Now
×
×
  • Create New...