Hello!
I am working on a project where you can get in and out of many vehicles. I have a simple blueprint system for it. One to the main character blueprint with variables for the cars and one to each vehicle with it’s own game-mode and blueprint. The problems I’ve encountered are that I can join two vehicles and then get out of them but when I try to join another one (doesn’t matter which one) the player will join the last car that was possessed by the pawn. I’ve posted the pics with the blueprint for the character and for the cars with the variables and all visible. The other problem I’ve had with this is that after driving a while, if I press the key to exit the car the game controls will freeze and the view port will remain stuck. In the output log it says that it cannot spawn an actor from a NULL class. I’ve posted a pic with that too, my basic knowledge tells me the collision box gets destroyed after a time or something related to it happens but I can’t figure out what exactly.
Thanks for your time and help!