Hi,
I am experimenting with Simconnect to try to "overwrite" the ACCELERATION BODY Z values.
However, when I setdata on simobject, the result did not take effect unless Ground Speed is above 1 knot. (I need it to be active at 0 knot to modify breakaway thrust). Also, I notice that when I set acceleration value, it does not overwrite but rather, "adds" onto the sim internal calculated value.
Any idea if this behaviour is correct or did I do something wrongly?
hr = SimConnect_AddToDataDefinition(hSimConnect, DEFINITION_ACCEL_Z, "ACCELERATION BODY Z", "Feet per second squared");
hr = SimConnect_SetDataOnSimObject(hSimConnect, DEFINITION_ACCEL_Z, SIMCONNECT_OBJECT_ID_USER, 0, 0, sizeof(bodyaccelz), &bodyaccelz);
I am experimenting with Simconnect to try to "overwrite" the ACCELERATION BODY Z values.
However, when I setdata on simobject, the result did not take effect unless Ground Speed is above 1 knot. (I need it to be active at 0 knot to modify breakaway thrust). Also, I notice that when I set acceleration value, it does not overwrite but rather, "adds" onto the sim internal calculated value.
Any idea if this behaviour is correct or did I do something wrongly?
hr = SimConnect_AddToDataDefinition(hSimConnect, DEFINITION_ACCEL_Z, "ACCELERATION BODY Z", "Feet per second squared");
hr = SimConnect_SetDataOnSimObject(hSimConnect, DEFINITION_ACCEL_Z, SIMCONNECT_OBJECT_ID_USER, 0, 0, sizeof(bodyaccelz), &bodyaccelz);

