+3 votes

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.

in Engine by (65 points)
edited by

3 Answers

–13 votes

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

by (232 points)

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?

+5 votes

Yes it's ok to do so.
That's how it is done in the "my first game tutorial" https://docs.godotengine.org/en/3.1/getting_started/step_by_step/your_first_game.html
(KinematicBody2D is more advanced (thus more complex) but is NOT mandatory)

by (43 points)
0 votes

Yes, this is the correct way.

by (204 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.