Search Unity

How does Physics2D work in an isometric 2d game?

Discussion in 'Physics' started by zhuchun, Apr 17, 2020.

  1. zhuchun

    zhuchun

    Joined:
    Aug 11, 2012
    Posts:
    433
    Hi, I'm wondering if that's possible to make Physics2D work in an isometric 2d game? I barely can find any tutorial about how to let the character throw a grenade and falls at an intuitive position on the ground, is it hard? :confused:
     
    Last edited: Apr 17, 2020
  2. Grimps

    Grimps

    Joined:
    Nov 4, 2016
    Posts:
    15
    If you use 2D physics with an isometric, you'd typically set the gravity to zero and not use elevation in the game (unless it's purely cosmetic). The physics would be used from a top-down perspective. To add the rising and falling of a grenade ads a third dimension and you should go the 3D physics route, IMO.
     
  3. zhuchun

    zhuchun

    Joined:
    Aug 11, 2012
    Posts:
    433
    Thank you. It seems people usually use PhysX and Orthographic projection to get a similar result, not Box2D and isometric, it's possible to make a custom 2d physics engine that works with isometric though.