Change player's gravity
Hi everyone !
I'm wondering how could I change the gravity of my character by pressing an input ?
I'm really newbie in Blueprint scripting, and after many researches, I didn't find a clear answer to my question. I would appreciate some help. :-) Thanks in advance !
Right now you can only change gravity on the Z axis. It is hardcoded into the engine like that.
There are one or two projects to fix this ongoing though nothing works properly yet. If you want this working you will have to write your own gravity and set your character as not physics affected. Remember that this will require you to add everything from simple increase of fallspeed the longer you fall to in air, walked over a ledge and so on functions.
This is probably one of Unreals largest weaknesses. The Z gravity.
You should be able yo set character gravity in chracter movment component
answered Jul 18 '14 at 12:41 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here