0 votes

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.

in Engine by (12 points)

1 Answer

0 votes

There are three issues:

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.

by (313 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.