Issues with CreateEffect and RemoveEffect

Discuss on the SimConnect SDK can be used by programmers to write add-on components for Prepar3D
Post Reply
obinder
Posts: 145
Joined: Sun Jun 08, 2014 9:43 am

Issues with CreateEffect and RemoveEffect

Post by obinder »

Hello @ll,

we are having issues with the SimConnect methods to place effects. (P3D V4.3)

1) If you place effect Controllers into the sim, they cannot be removed again. It doesn't matter if you use CreateEffect/RemoveEffect or if you attach them to a SimObject and create/remove that. The Controller always stays behind, and it will even survive a disconnect of the client that created it (unlike every other item).

2) Effects look and behave differently depending on how you create them. Especially large effects that cover ground (like the forest fires) look different if you create them as an element of the scenery, with CreateEffect or attached to a simobject. They are often tilted at an angle, or change their pitch/bank orientation by 90 degrees

3) Effects that are placed with CreateEffect are susceptible to what your own aircraft is currently doing. For example, if you are in slew mode, going upwards, an effect placed at altitude 0 will distribute its emitters upwards too (=the particles are emitted above ground level). But if you keep still, effects are placed correctly, flush with the ground.

Especially the first one is a real problem in our use cases, as it makes programmatic use of complex effect arrangements impossible.

Best regards
Oliver Binder
Lorby-SI

on behalf of Wildfire Training Solutions inc.
Post Reply