1
vote
Should a swinging sword be part of the player sprite, or its own separate sprite?
It is usually favourable to separate the collision hit boxes to allow for independent collisions.
For example, did the sword hit the target or did the target hit the player?
For single player games, ...
- 301
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
collision-detection × 2386unity × 495
2d × 353
physics × 352
c# × 315
java × 224
collision-resolution × 220
xna × 191
c++ × 177
libgdx × 105
3d × 97
mathematics × 93
javascript × 93
aabb × 73
platformer × 65
tiles × 63
pygame × 61
android × 60
raycasting × 60
separating-axis-theorem × 60
opengl × 59
box2d × 57
algorithm × 56
python × 56
tilemap × 51