What is proper way to move Area2D?

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

Having Area2D for main character.

I’m using Area2D.position for moving.

Is this proper way?
Are Area2D s supposed to be moved?

As it can be seen here
that’s why i have chosen Area2D for main character.

:bust_in_silhouette: Reply From: Schweini

You should use a KinematicBody2D.
Area2D should not be used for a character.

what about a bullet? when i make it too fast, it can clip through things and i dont want that how could i fix it?

51m0n55 | 2023-01-10 15:49

:bust_in_silhouette: Reply From: abakobo

Yes it’s ok to do so.
That’s how it is done in the “my first game tutorial” Your first game — Godot Engine (3.1) documentation in English
(KinematicBody2D is more advanced (thus more complex) but is NOT mandatory)

1 Like
:bust_in_silhouette: Reply From: Dooowy.

Yes, this is the correct way.

1 Like