Skip to content
Snippets Groups Projects

#21 Tank follows terrain path

Merged Jan Einar Thorvaldsen requested to merge 21-have-tank-move-along-terrain into main
4 files
+ 56
30
Compare changes
  • Side-by-side
  • Inline
Files
4
@@ -20,7 +20,7 @@ public class Bullet {
public Bullet(Tank tank) {
this.position = tank.getPosition();
position.y += 0.5;
position.y += 0.5f;
this.tank = tank;
world = Box2dWorld.getWorld();
bodyDef.type = BodyDef.BodyType.DynamicBody;
Loading