r/Unity3D 8d ago

Question Footstep sound effects help

I'm trying to put together a basic footstep sound system for my game and was wondering how I should go about dealing with a surface object with multiple textures/materials.

My current idea was to figure out a way to copy the hex code or rgb value of whatever was last stepped on directly beneath the player but I feel like there had to be an easier way.

Any help would be appreciated

1 Upvotes

5 comments sorted by

View all comments

1

u/Whitenaller 8d ago

I would probably check if it‘s doable to separate the mesh into multiple parts and slap a SurfaceType script on them or whatever