Hello !
I tried to make a game where you can reverse the gravity during gameplay. So I have tried to change the world’s gravity. But I think it is impossible from a script. So I created a blueprint with a projectile movement component. Thanks to it, I can change the gravity scale of the blueprint when an event is triggered.
However, though it works when I change the gravity scale (of the projectile movement component) in the editor, it doesn’t work when I change it from the event graph. In fact when the event is “begin play”, it works. But if it is an input with the keyboard, nothing append. It is not an input problem, I already check this issue.
So I want to make that every actor/blueprint go up or down when I press a button.
Here is my blueprint :
Thank very much you for helping !
PS: Sorry for my english ! I am French !