week 2 prep

This commit is contained in:
OddlyTimbot 2026-06-29 17:02:44 -04:00
parent 7824bcd6cd
commit d0819ead77

View File

@ -79,7 +79,7 @@ func _physics_process(delta: float) -> void:
var c = get_slide_collision(i)
#is this a bonkable thing?
if c.get_collider() is RigidBody2D:
c.get_collider().apply_central_impulse(-c.get_normal() * 100)
forcePushSignal.emit(c.get_collider(), -c.get_normal() * 100)
if rightRay.is_colliding():
#get the thing causing the collision