Adding action manager for click event inside SPS particles

Hi,

I hve been trying to add action manager inside SPS, but im very confused about the syntax.

PG i tried - https://playground.babylonjs.com/#2FPT1A#505

To use an action manager you first need to initialize it (i.e. - create a new action manager). But AFAIK particles don’t support action managers.

If you want to do SPS picking you can check the documentation here - Picking Solid Particles | Babylon.js Documentation (babylonjs.com)

1 Like

Something like this, may be?

2 Likes