Posted August 14, 2021 by killereks
After getting some feedback from the community, I have created a few major changes.
Layer System
Layer system let’s you use different sounds for the same ground types based on entity, for example on concrete a player will have normal footstep sounds, but an alien will have stomps. You mark ground as concrete and on entity set layer to the desired one.
Events
I have added two events to make programming a bit easier.
“On Footstep Sound Played” which will run when this entity will play a footstep sound, it will also pass the Transform (who called it) and a string (the ground type).
“On Ground Changed” which will run whenever a ground changes on this entity, for example they walk from concrete to grass, it will pass the tag from and tag to, in this case it would be “Concrete”, “Grass”