Skip to content

Commit 9b0fbfb

Browse files
Merge pull request #5 from expressobits/feature/collisionfix
Collision Fix
2 parents 6b582e9 + f0987ea commit 9b0fbfb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

addons/character-controller/example/main/audios/player_audios.gd

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ func _get_audio_interact_of_object(collision):
6969
return
7070
if !collision:
7171
return
72+
if not "physics_material_override" in collision:
73+
return
7274
var mat = collision.physics_material_override
7375
if mat:
7476
var i = physic_materials.rfind(mat)

0 commit comments

Comments
 (0)