Search Unity

Physics of "Battle City" clone game

Discussion in '2D' started by 8Observer8, Oct 12, 2015.

  1. 8Observer8

    8Observer8

    Joined:
    Apr 29, 2015
    Posts:
    99
    Hello,

    I want to create "Battle City" clone game for non-commercial usage. So my question is: can I use RigideBody2D for my tank? Because if I will use it I will push enemy tanks, but I don't want. I want that my tank stops when it meets the enemy tank. And I don't want that it pushes the enemy tank. I want to have Physics how in original "Battle City" game.
     
    Last edited: Oct 12, 2015
  2. blizzy

    blizzy

    Joined:
    Apr 27, 2014
    Posts:
    775
    I don't know Battle City at all, but to stop your tanks from pushing around other tanks, you can just modify them to have a very high mass.
     
    8Observer8 likes this.
  3. 8Observer8

    8Observer8

    Joined:
    Apr 29, 2015
    Posts:
    99
    It is very good idea! I will try. Thanks!
     
  4. blizzy

    blizzy

    Joined:
    Apr 27, 2014
    Posts:
    775
    Or, if that doesn't fit your needs, apply a force in the opposite direction once they start pushing another tank.
     
    8Observer8 likes this.