ActionManager OnIntersectionEnterTrigger Problem

Hi!
I was trying to make fireballs that will fire from behind the camera and I expected to get console.log(‘hit’) every time ball hits some object (ground in my playground example). So I followed the documentation of actions and triggers but I must be missing something because it doesn’t seem to work.
Can someone help me figure it out?
Here is link to the playground that I created on purpose of this problem:
https://www.babylonjs-playground.com/#ZMWY5Q#9
~60lines of code
just press B to fire ball

Hi, you have fireball.actionMenager instead of fireball.actionManager

1 Like

ok so it worked. Shame on me xD but why do i have to name the property exactly the same? I thot i can assign this menager even to property named completely different for example

fireball.aManager

or anything else

or anything else

like fireball.actionManagerNotToUse ? xD
You can do it, but BJS just won’t do anything with it

1 Like

ok, thank you very much :heart:

1 Like