diff options
author | WBoerenkamps <wrj.boerenkamps@student.avans.nl> | 2025-01-08 14:50:04 +0100 |
---|---|---|
committer | WBoerenkamps <wrj.boerenkamps@student.avans.nl> | 2025-01-08 14:50:04 +0100 |
commit | 0de6692dcb029540f4502c5a2f1a0c6634f7b61f (patch) | |
tree | 001f373de315b651704b8b264e20314bc878e288 /game/player/PlayerBulletSubScene.cpp | |
parent | a4b9e948ac0acd14d82e009a75e1fccdddeeab9b (diff) |
start of extra features and restored player functions
Diffstat (limited to 'game/player/PlayerBulletSubScene.cpp')
-rw-r--r-- | game/player/PlayerBulletSubScene.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/game/player/PlayerBulletSubScene.cpp b/game/player/PlayerBulletSubScene.cpp index 62bcf3e..2d237de 100644 --- a/game/player/PlayerBulletSubScene.cpp +++ b/game/player/PlayerBulletSubScene.cpp @@ -24,10 +24,10 @@ int PlayerBulletSubScene::create(Scene & scn, int counter) { Rigidbody & player_bullet_body = player_bullet.add_component<Rigidbody>(Rigidbody::Data { .gravity_scale = 0, .body_type = Rigidbody::BodyType::KINEMATIC, - .linear_velocity = vec2 {300, 0}, - .angular_velocity = 150, + .linear_velocity = vec2 {400, 0}, + .angular_velocity = 10, .kinematic_collision = false, - .collision_layers = {COLL_LAY_ENEMY}, + .collision_layers = {COLL_LAY_ENEMY,COLL_LAY_ZAPPER}, .collision_layer = COLL_LAY_PLAYER_BULLET, |