Search Unity

2D collision detection in 3d games

Discussion in '2D' started by ATomic92, Jul 20, 2014.

  1. ATomic92

    ATomic92

    Joined:
    Sep 27, 2013
    Posts:
    7
    Hi all,


    I didn't see a forum section for Unity engine stuff, specifically, so here goes an idea: the axis of the default 2D collision detection should be changed(or changeable) so that 2D collision detection can be utilized in 3D games. This is done in some aspects of collision detection in the Wargame series (IRISZOOM engine) and it would certainly be a nice-to-have in RTS development. It would also correct the awkward issue of having Vector3.left and up instead of left and forward in 2d, but that's a minor issue.

    Additional problem with the current set up, discovered in testing, is that since terrains can't be rotated you'd have to project the current state onto a completely different representation, with additional game objects, to use it, I suppose.

    Just a thought.
    Answers Question