Is there a way to Force the sim to be on the ground, regardless of the terrain?
I am currently setting up a project where i have the visuals being handled by another piece of software (with its own terrain) and i'm trying to set the sim to be on the ground (and potentially the normal of the ground, which i can output form my other software)
Alternatively, is there a way to fake it and dynamically create a Ground square underneath the Aircraft at runtime?
Thanks in advance
2 posts • Page 1 of 1
If by setting "the sim" on the ground, you are referring to the current vehicle (aircraft, typically) then - yes. It's pretty straightforward. You just need to use a SIMCONNECT_DATA_INITPOSITION structure with the OnGround flag set to 1. You can send the required initposition via a call to SetSimDataOnSimObject . It will then position the vehicle on the ground at that location, irrespective of terrain.
Who is online
Users browsing this forum: No registered users and 1 guest