Jump in simple shooter

when I use the PlayerInputComponent->BindAction(TEXT(“Jump”), EInputEvent::IE_Pressed, this, &ACharacter::Jump) and run the development build, theres no error shows and sucessfully builded. But when I restart my project, my character couldn’t jump.

This jump is for the old Input system so if you are using the new input system, you need to use a different set of bindings. It is a little more complicated but is covered by a supplimentary course for Enhanced Input (I believe all purchasers of the C++ course receive it for free)

Privacy & Terms