Jump to content
Sign in to follow this  
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • 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.
×
×
  • Create New...