Hello i was wondering if i can change the gravity of my player in game with a button and i dont find how? (i’m new in unreal so sorry if its a dumb question)
You can alter the gravity scale of your character through the CharacterMovementComponent, the property is called GravityScale.
If you open the character asset you will find the movement component in the character’s component list. click on that and the details panel will update showing properties of the movement component. it’s in that list.
yes but i wanted to change the point of gravity like if i press a button the character will go up
Is this similar to jumping or more similar to free flight ? (think Dead Space zero gravity movement). If jumping + gravity scale is not what you are looking for then you could try to set the character movement mode to flying instead of walking. With the flying mode I think you can still implement gravity while you can also implement movement comparable to zero gravity flight.