I’m trying to create a function that reverses the player’s gravity when pressing the r key. This is my first time using Unreal, so I’m making it while watching various gravity-related lectures, but an error keeps occurring in the target section. How can I create the functionality I want?
In the character section of the player, you can just set the gravity to a negative number.