How to make vehicles which can be driven?

Hi!
I am making a third person project. I cant find any tutorials for driving vehicles in UE4. I want the character to walk, enter the vehicle, and then be able to drive it.

Thanks!

Hey Champforevaa,

I’m not an unreal engine expert or anything, BUT I do have a solution for you.

  1. Migrate the vehicle player (called “Sedan” I think) over from the vehicle example to your working project.
  2. Add a collision to the vehicle actor and create a blueprint script to check if something collides with it.
  3. If that ‘something’ is the player, then you would then switch the game mode from third person game mode to vehicle game mode, which should have migrated with the vehicle player you migrated.
    There you go! I don’t know if it’s possible to switch game modes via blueprinting but go ahead and give it a shot, I would totally play whatever game you’re making if you figured that out.

Thanks! I’ll try that out!