Spatial 2D Audio: improved the reverb effect parameter calculation

This commit is contained in:
ChaoticByte 2024-10-05 10:33:07 +02:00
parent 3ec5a9edf7
commit 46f5b788a1
No known key found for this signature in database
5 changed files with 12 additions and 29 deletions

View file

@ -52,6 +52,3 @@ func _physics_process(delta: float) -> void:
if collider is RigidBody2D:
var impulse = -collision.get_normal() * (velocity.length() / collider.mass) * rigidbody_impulse_mult
collider.apply_central_impulse(impulse)
func _ready() -> void:
$AudioListener2D.make_current()