I want to trigger an special "landing" animation on a platform character only when he lands with a certain fall speed.
So I gave the character a "Hardfalling" boolean variable wich is set to true or false depending on the falling speed in order to trigger the animation with the On landed platform condition.
The thing is, this doesnt work consistently, sometimes it triggers, some times it doesnt...
I tried the speed check both with compare speed and checking vector Y to no avail.
I guess the problem is that the same moment it lands the speed is cut. It doesnt matter if I set the HardFalling boolean before or after the On landed condition, although theoretically makes sense that setting the boolean after the on landed event would fix this.
I made this barebones example: in it, the HardFalling boolean is set if the vector Y is > 0 so every landing would be considered a hard fall, and set the hard fall to trigger a sound instead an animation.
If you change the vector Y check for compare speed the inconsistent behaviour is pretty much the same, although logically, it triggers if you are moving horizontally. The order of the boolean setting/On landed check in the event sheet doesnt change much either.
It seems to trigger much more often if you jump in place and much less when jumping from platform to platform for some reason.
Ideas? Any workaround? Thanks!