Using Area2D or RigidBody2D for the ball and paddle in a breakout style game

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

I just learned how to use vectors in code but i saw a tutorial that used RigidBody2D and there are a lot of inbuilt attributes for controlling them i guess? but i don’t know if that would be the easiest or best option to continue my game

what do you think?

:bust_in_silhouette: Reply From: picnic

Why not try a few simple test projects to find out how each type works? If you read Physics introduction — Godot Engine (3.0) documentation in English there’s a brief and easy to follow description of each type of collision object and you should be able to figure out where to start by asking yourself a few questions such as ‘Will the object move?’ (bat yes, ball yes, bricks no, walls no)

“A static body is one that is not moved by the physics engine. It participates in collision detection, but does not move in response to the collision.” … sounds like a wall to me. etc…

:smiley: