forked from team-sg/hero-mark-2
added continuous collision detection and removed print statement
This commit is contained in:
parent
140116bb30
commit
de38a0f5d9
2 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,6 @@ func _on_Hurtbox_area_entered(area: Area2D) -> void:
|
|||
|
||||
func _physics_process(delta: float) -> void:
|
||||
var speed: float = inverse_lerp(0.0, 250.0, linear_velocity.length())
|
||||
print(speed)
|
||||
glow.energy = lerp(0.0, max_glow, speed)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue