Made a particle effect that plays when player jumps.
There is a bug where the number of available jumps refreshes before the character lands on the ground.
When said bug is fixed, the smoke effect should only play from the ground and not in the air.
P.S.
I tried getting particle effect to work when landing instead of jumping, as this would also make sense. However, the raycast isGrounded detection seems to be not working correctly, which would explain the bug explained above.
Made a particle effect that plays when player jumps. There is a bug where the number of available jumps refreshes before the character lands on the ground. When said bug is fixed, the smoke effect should only play from the ground and not in the air.
P.S. I tried getting particle effect to work when landing instead of jumping, as this would also make sense. However, the raycast isGrounded detection seems to be not working correctly, which would explain the bug explained above.