Make a backflip in vehicle
I'm actually trying to make my first SideScroller mobile game on Unreal Engine, and so far I've overcome a lot of problems, but now I'm really stuck ...
I'm trying to make my vehicle doing a backflip while jumping.
I've used impulse to simulate a jump, but I can't find a way to make my vehicule tilt backward while the jumping key is pressed. I've tried the AddLocalRotator on the Mesh or on the actor with no results...
And I'm using the VehicleMovement to simulate the physics of a rider.
Do you have any idea ? Thank you very much for your help, any help would be greatly appreciated!
asked Mar 14 '16 at 09:11 PM in Blueprint Scripting
You could change the vehicle's center of mass when it jumps to have gravity roll it for you and then set it back to normal center of mass after. If you want it to roll(flip) backwards you could adjust its center of mass up in the Z and negative in the X, but it will most likely require trial and error to get the amounts just right for the effect you want to achieve.
answered Mar 15 '16 at 02:41 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here