issue with bouncing object

Godot Version

4.1.1

Question

ball very rarely will not bounce, not really sure of the reason

video of ball not bouncing:

extremely simple ball code:

func _on_bounz_vert_body_entered(body):
	if velocity.y > 1000:
		velocity.y = velocity.y * -.8


func _on_bounz_hor_body_entered(body):
	velocity.x = velocity.x * -.8

ball hitboxes:
https://imgur.com/98U1091

i am a beginner so if a total overhaul of the way it bounces is required pls let me know how, this is just the first method i thought of

Why wouldn’t you want to use the RIgidBody2D? This is the effect I can achieve with 0 lines of code:

This is the scene setup.

Let me know if you have any questions.

hello! i tried using a rigidbody2d at first actually but the code i used to “pick up” the ball would directly set the position of the object, which i’ve learned is a no-no with rigidbodies as it really messes with the physics.

I worked for a while to understand how to get the ball to move towards the point with integrated-force, or deleting the ball and respawning it after throwing but as a beginner i really could not wrap my head around either of these methods and settled on just making a characterbody2d.