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
Help AVSIM continue to serve you!
Please donate today!

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