I am learning Godot Engine and scripting, and I tried to create a simple game, where a ball moves and collides with other objects. I attached collision and static body to the sprite, but it does not detect collision with any other object. Why?
This is the script attached to the ball:
What is wrong?
I figured out, I needed to use the
move()
function, that was created for collisions.