So ive got a few vehicles ive rigged and imported into the vehicle folder (still using the buggy vehicle template)and Im wondering how I can switch between them in game to drive them. I Thought maybe it was somewhere in the vh_gamemode class blue print but changing the default pawn class didnt change the vehicle when I ran the game.
Is there something simple im overlooking?
Any help would be appreciated.
You mean have them in the world and enter/exit them? I’d be interested in hearing how this works as well. Someone who was making a Vanishing Point game had this working I believe.
That would work great too, I was just trying to have all my cars in the vehicles folder and be able to select any of them to drive when I hit ‘run game’. Because at the moment when ever I launch the game it default puts you in the buggy unless I overwrite the buggy with one of the own cars.
…but yeh, an in-world enter/exit or interactive select screen would be great!
timespirit is right, has a working system and was even kind enough to share how to do it in this thread How can i possess a different character and unpossess my current one? - Blueprint - Epic Developer Community Forums
Yeah, it works. Also I had made it in Player Controller but using the Game Mode BP is the right way i guess. And someone please turn that into a proper tutorial and put it on Wiki.
Btw, here’s an update on how to set the position of your character when you leave the car:
Excellent! looks just what i need, thanks for your responses. would it allow for multiple vehicles though? a comment by AndrewVishnevsky suggests thats its just good for one vehicle?
I didnt need a multi-vehicle solution back then so it wont work for more than 2 different pawns. But you should be able to make it a multi-vehicle setup and it should be even easier if all of your vehicles are based on the same vehicle BP.
This is great. thankyou so much. I really appreciate you giving up your spare time to help me and others out!