Hi, I’m learning UE4 C++ Programming. ( I’m so New right now )
Till now I didn’t had any issues and found the answer of my question from the internet but I can’t find a function/variable that tells me UStaticMeshComponent is on Ground ( I’m practicing on something like CubeRunner )
That is my code:
It works fine if I want to double jump everytime that I jumped OR I single jump then wait for 2.5seconds ( it resets the booleans to default ) but if I jump and don’t press double jump and when I reach the ground my next jump is actually the double jump ( if i do it before 2.5 seconds ), therefore I want to call the function HandleJump() when the mesh reached on Ground.