Version: 1.32.2.0
Frequency: Consistently
Severity: Blocker
Context: Creating visual effects in the VFX Editor and attaching them via the fsVfxSpawnOnSimObject function.
Bug description: It appears that GetGroundAttribute gets computed at the datum of the aircraft (or attachment node) at all times regardless of the offset specified when injecting the effect. This results in misplaced effects if they have to be at a set distance from the ground. For example, adding an effect and setting GetGroundAttribute->Position as the Init position, it looks fine with zero offset but looks under the ground if the offset is lower.
Repro steps:
- Create a WASM project to inject the effect
- Create an effect in the VFX editor
- Set the Init position to GetGroundAttribute->Position
- Inject this effect using different offsets
Let me know if you have further questions.