C++ Jump Code does't work

So I’ve been trying to implement Jumping using the Character Movement Component. I’ve bound the Jump Action to the spacebar. Once it’s pressed nothing happens… Is there a solution to this or do I have to do something completely different?

In the Tick funtion I call Super::Tick

244606-capture.png

244607-capture1.png

244608-capture2.png

I tested the CanEverJump() function and it returned true.

I found a solution, I had to untick the checkbox from the CaspuleComponent to Simulate Physics.