Version: 1.0.72.0
Frequency: Consistently
Severity: Blocker
**Context:**Sting S4, TL3000, FSR500. Mounted from Community, in flight
Bug description:
Setting camera state, camera view type and camera index via Simconnect doesn’t work anymore via WASM.
The snip below explains what I do to set the cameras:
SimConnect_AddToDataDefinition(hSimConnect, DEFINITIONS::CameraControl, "CAMERA STATE", "Enum");
SimConnect_AddToDataDefinition(hSimConnect, DEFINITIONS::CameraControl, "CAMERA VIEW TYPE AND INDEX:0", "Enum");
SimConnect_AddToDataDefinition(hSimConnect, DEFINITIONS::CameraControl, "CAMERA VIEW TYPE AND INDEX:1", "Enum");
if (ChuteSecondsSequence > 0 && ChuteSecondsSequence < 160) {
cameraControlData.CAMERA_STATE = 5;
cameraControlData.CAMERA_VIEW_TYPE_INDEX_0 = 5;
cameraControlData.CAMERA_VIEW_TYPE_INDEX_1 = 7;
SimConnect_SetDataOnSimObject(hSimConnect, DEFINITIONS::CameraControl, SIMCONNECT_OBJECT_ID_USER, 0, 0, sizeof(cameraControlData), &cameraControlData);
}
That code doesn’t work anymore causing now a major feature of my products to cease to work, basically for my parachute deployments I change the cameras to show to the users how the parachute is deploying.
I also change cameras like this on FSR500 during many animations so customers can apreciate what is happening.
Can we please correct this? I been asking for a camera API for over 3 years to implement cool sequence and animations and changing the FIXED cameras was all I had left, with this now disfunctional, efectively now I have nothing… So I am quite disapointed and bummed at this point.
Repro steps:
Either use one of my products and deploy the chute, or via WASM try to change the cameras like I do in the code above.
All the best,
Raul