Choose whichever you need
let’s take event on launched ,
what next ?
hi , my character have running practical system which start when i press shift , but the problem here , when i jump while pressing shift , the effect still on it , i don’t want the effect working while the character is not on the ground .
Deactivate the particle system
When you jump are you calling Jump function of Launch function? There is a difference.
no just this node setup , what should i do ?
If when you jump you’re calling Jump function then use Event on Jumped.
If when you jump you’re calling Launch Character then use Event on Launched.
You’re calling Jump so use Event on Jumped
Use all of them.
Because there are 4 events where the PS is deactivate, and at least 2 situations where must be activated, then it’s going to complicate a little. For example:
Note that I also consider the case where you’re sprinting, then you jump/fall and land while still pressing the key (resume sprinting).
PS: to simplify the above script, use a variable to indicate the sprinting state. I didn’t use it, because I didn’t feel like it.
thx very very very very very much