Can't work with vehicles in 3rd person template

Hi guys!
I’ve been trying to add the vehicle template to the 3rd person one. So i started a 3rd person project an added the vehicle template (i enabled the chaos vehicle plugin)
when i load the vehicle template maps (asphalt and offroad), both vehicles work. when i load a vehicle BP in the 3rd person map and auto-possess player_0, i can’t drive the vehicles and the ui don’t appear
that’s my first problem for now, when this one is solved i’ll have another problem regarding a vehicle i made lmao
thanks to anyone who tries to help me!
nice day
byebye

Hello Dr. Gread, Welcome to the Forums.

If you try adding the vehicle input mapping context does it work?

Cheers.

Hi Astrotronic!
Thanks for your answer
So I tried what you said and it works
I just switched to a different method, using the event “possessed” and “unpossessed” to be able to used the 3rd person character when not forcing the vehicle’s BP to possess player_0
Basically, I can now just change the auto possess to player_0 or disabled and it automatically switches to the right IMC
Thanks a lot

but now i’ve got a second problem
i want my character to be able to enter the vehicle
i’ve looked at some tutorials and the methods i found don’t work
most of them use the “Get actor of class” node to switch from the character to the vehicle and vice-versa
basically, you have:


(3rd person BP)
What am i doing wrong here?
Thanks a lot for your help!
byebye
Nice day :slight_smile:

Glad to hear it works.

If you put a ‘Print String’ node after the ‘For Each Loop’ (and print the display name of the Array Element) you can verify that the Sports Car Pawn is getting detected.

Depending on certain collision channels + settings, no collision may be detected between the Character and Vehicle.

Let us know how that goes!

Hello!
Thank you for your suggestions
I in fact forgot to add a collision box
I’m just… BRUH
anyway, thanks for that!

but of course, you know how it goes, i’ve got two other problems, linked
I promise i’ll leave you alone after that :smile:

So basically, i tried to import a vehicle model a friend of mine sent to me. i had to do some adjustments in blender but everything seems to be ok
i was able to import the vehicle, rig it for animations… but i can’t create a proper physics asset and i can’t use it as a chaos vehicle apparently… got no error from the console or logs, so i don’t know what’s going on at all…
Thanks again for your help
Sorry for the ping
See you
Nice day

Nice.

Setting up a Chaos Vehicle is its own bag of worms. (One which I’m not super familiar with)

A good place to start would be following this tutorial and set up a simple vehicle. Then try and apply those learnings to your friends vehicle.

That’s what I did in fact
I had already done this with 5.1 and wanted to use this vehicle
Followed this exact tutorial but it’s not working
To be fair, I think it’s coming from the fact that I can’t create a proper physics asset
It’s very weird
The vehicle looks normal in the physics asset editor


But when importing it on my map and playing, the wheels go through the floor
As if they had no collisions