Rigidbody and Collision Problem

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By 0P3N3R

Hi Guys, I want to learn GoDot Engine …I use the GoDot Engine Documentation…
But I have a problem … My Ball Collision And RigidBody Not Working …
this is my project sources…

i don’t know why walls don’t block the my ball …

please help me.

:bust_in_silhouette: Reply From: DavidPeterWorks

There are three issues:

1,
You have copy-pasted the shape of the collision. You have the same resource for ball and walls.

Check out all objects of CollisionShape2d node - shape resource. You can make unique. Right click on shape.

2, The position of the collision shape is at 0,0 position instead of the actual position of the sprite. Far away from the walls.

3, The collider shape size is very small too.