I am creating a footsteps script with my capsule collider-based player:
I am having an issue with collision detection.... If i am on a surface below me and i collide with a new surface in front of me (such as a wall), the collision detection chooses the wall (concrete) sound to play, instead of the ground that i am standing on.
Is there a way to make sure that the collision contact is only hitting the bottom of my capsule collider? Thanks
↧