Version: 1.6.34.0
Frequency: Consistently
Severity: High
Marketplace package name: sws-aircraft-airvan
Context: Community, Streamed, Devmode
Similar MSFS 2020 issue: Not applicable
Bug description:
Custom drag interactions that worked well in FS2020 do not work properly in FS2024. An L:var with a value range from 0 to 1 is used to drive an animation. It works well up to 0.9999999 (7 decimals). As soon as an 8th decimal is added or the value becomes 1.0, the animation jumps to the starting keyframe. If I try to use values greater than 1, the same problem occurs.
The XML code has been using a 0 max 1 min clamp for the L:var since 2020 for that kind of reason, but the problem appeared with FS2024 (pre-release build) and still carries over.
It looks like a rounding error.
Repro steps:
Drag the air conditioning nozzles around with the mouse and notice the animation jumping.
Attachments:
Animation min pose:
Animation max pose:
Animation at L:var value of 0:
Animation at L:var value of 0.9999999 (7 decimals):
Animation at L:var value of 0.99999999 (8 decimals):
Animation at value of 1.0





