Hi. My head hurts and I am exhausted because of a maybe simple problem.
ATM my character uses a ray to determine if it is grounded, everything goes jusr fine…but.
I need my character to be able to jump lets say 2/3 times ONLY if he Firstly jumped when it was grounded. I dont want it to be able to jump if he is not grounded anymore and if he DIDN’T jumped atleast once.
So , start jumping only if grounded, keep jumping for 3 times BUT never be able jump if not grounded AND never jumped before when it was grounded.
hope it makes sense.
Any help is GREATLY APPRECIATED.