How to add tire sound and particle based on Physics material in Vehicle using blueprint?

I’m trying to figure out how to put sound and particle emitter on the Vehicle Pawn tires that respond to Physics material settings.
I’ve seen the tutorial on how to do this on Regular Character, but seem to be very confused on where to start for Vehicle pawn.
Greatly appreciate whoever can help me out with this :slight_smile:

Thanks in advance.

Basically you need to send line traces from the wheels to the ground to get the surface information, and then spawn particles or play the sound for the appropriate surface type.

Just add sockets for each tire’s contact point with the ground, then use that socket’s location for tracing and spawning the fx. You would want to add 20-30 units in Z axis to the socket location for the start location of the trace though, just to be safe. And make sure Ignore Self is enabled.

Thanks for the info. I figure Single Line Trace By Channel will be involved in doing this :slight_smile:
The problem I’m having right now is the wheel component itself.
I’m not sure where to get the proper position of this wheel component of the vehicle and where to spawn the particle/ sound attached to it.
(I might be over thinking this as I could probably just place a socket or dummy object to indicate the position in the vehicle pawn).

I might do an experiment to do the line traces in the Vehicle AnimBP or the VehiclePawn itself and see which one does work for me.
I’ll report back if I manage to get everything working.
Please add more comments if people have more suggestion that can help the process.

Once again thanks in advance.

Really appreciate the extra information, I’ll give it a shot tonight :slight_smile:

All right, I got the basic to work and set these up in the vehicle Pawn blueprint event graph instead of in animbp. I’m posting this shot in case anybody else wondering where to start.
Thanks for the help Jacky.

1 Like

Ive Been trying to understand how to tell when the vehicles are to spawn the burnout particle. If you could please help me with this. Ive almost got my prototype vehicle ready but with out the sound effects or particles it still feels like it is missing something. if you could help I really would appreciate it

Thank You
Dan Murray

I was having trouble with my line trace. It was turning off and on whenever I turned. Put a vector add node before the start point to increase the height of the the start point to fix the jittering

I had the same problem but now working fine.
What i made is just place socket in middle of the wheel not there where tire touches ground and next i checked distance to ground and place that value to “Z” axis +10 units.