Surface Impact Sounds Playing on Air

rechnight

New member
This might be a dumb question, but I added the surface impact effects on the body weapon (Punch and Kick ones), but when I attack the air, the surface impact sounds plays without hitting anything. I've compared the demo scene, both the character and the body weapon, but can't seem to find the problem.

Any help here?

Thank!
 
My guess is that the attack is hitting a collider that you wouldn't expect. If you place a breakpoint within SpawnManager.SpawnEffect and see what collider is hit.
 
Tried looking for the SpawnManager.SpawnEffect, but couldn't find. Could you tell me which folder would this script be? Thanks
 
Seems that I already found out the issue... It was the surface manager, since I had no other object surfaces, it was falling back to the generic on everything, removing the fallback solved this issue. But thanks for the link, it's always good to learn something new!
 
Top