Hi Chris,
with the new footstep feature that changes sounds based on different surfaces, how could I modify (or copy) the original script (which currently has sounds for walking and running) to also add sounds for jumping and landing (based on different surfaces)?
I'm using the same controller as Brain from the demo, so it could be done in a way where the jump sound plays when isGrounded becomes false, and the landing sound when isGrounded becomes true again.
Is there a user-friendly way to implement this change, or would it interfere too much with the original code?
Thanks!
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
Are you already playing default jumping / landing sounds, and if so via which components?
Default jumping and landing sounds? Where are they?
I started using Brain as default char (with direct input) and now I have mine char but with the same controller, but never used the default jump/land sound...
Sorry, not sounds - I meant behaviour. The "Sample 3D Character" prefab (though Brain, not the same as Brain prefab from the Demo games), has a "FP Land" component that handles landing animation. Is that what you're making use of for landing?