Vehicle Always Lands on Wheels
I have a racing style game that allows you to drive off ramps, hills, etc. and hit a key to do a trick (in this case a forward flip). I am using the SetWorldRotation node and it is working fine, the vehicle does a 360 degree front flip. The problem comes in when the vehicle hits he ground before rotating all 360 degrees. Instead of crash and tumbling on the ground it always instantly rotates back to its upright position.
Here is the code I am using.
The script plays all the way through (tested using the print function to see where the Flip Timeline stops). The Jumping variable is a trace to determine how far off of the ground the vehicle is.
Any help getting the vehicle to crash when it can't complete the trick would be appreciated. Much thanks!
asked May 02 '16 at 09:33 PM in Blueprint Scripting
Follow this question
Once you sign in you will be able to subscribe for any updates here