Stopping Sedan from moving after exiting
I am having trouble getting a vehicle to stop when you exit (unpossess) the vehicle. I can't seem to figure out what I need to do in the Sedan Blueprint.
What happens specifically is when I exit, the Sedan just keeps going. It does not even slow down.
Any help would be appreciated.
asked Dec 04 '14 at 05:11 AM in Blueprint Scripting
I found out a fix (kind of) after messing around for a couple of hours with BP
I just made it so you cannot exit unless you are not holding w or s you do this by adding BOOL and then branch saying if it is true then do not get out of car (however your BP for that looks) and if its false then run the BP to get out of the car hope this helped...
answered Mar 06 '15 at 09:51 PM
C++ solution: GetVehicleMovement()->DestroyPhysicsState(); GetVehicleMovement()->RecreatePhysicsState();
This two methods will help you to stop vehicle. Worked for me.
answered Feb 16 '16 at 01:27 PM
answered Jul 08 '17 at 05:37 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here