system
1
|
|
|
 |
Attention |
Topic was automatically imported from the old Question2Answer platform. |
 |
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?
Update:
As it can be seen here
https://forum.godotengine.org/46636/choosing-wisely-types-for-my-objects
that’s why i have chosen Area2D for main character.
system
2
|
|
|
 |
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
system
3
|
|
|
 |
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)
system
4
|
|
|
 |
Reply From: |
Dooowy. |
Yes, this is the correct way.