feat: add collisionhandling

This commit is contained in:
huaqo-games
2026-06-29 18:15:31 +02:00
parent c27ada5352
commit 1996345459
5 changed files with 156 additions and 65 deletions
+2 -1
View File
@@ -57,7 +57,8 @@ void CreatePlayer(void)
Physics playerPhysics = {
.position = (Vector2){0.0f,0.0f},
.direction = (Vector2){0.0f, 0.0f},
.speed = playerSpeeds[ANCHOR]
.speed = playerSpeeds[ANCHOR],
.weight = 10.0f
};
Player* player = GetPlayer();