• 0

    posted a message on Unit Collision (TD) question

    A friend just helped me out, figured I'd share the information for anyone seeking out the same: The following fields need to be set to the following values:


    Towers:

    • Movement - Mover Ground
    • Movement - Pathing Footprint Footprint 2x2
    • Movement - Pathing Footprint - Dead
    • Movement - Pathing Footprint - Placement Footprint 2x2
    • Movement - Collide Burrow, Ground, Structure
    • Movement - Inner Radius 1.375
    • Movement - Radius 0

    Units:

    • Movement - Mover Ground
    • Movement - Collide Ground
    • Movement - Inner Radius 1.375
    • Movement - Radius 0

    Builder:

    • Movement - Collide Flying
    • Movement - Inner Radius 0
    • Movement - Radius 0

    This achieved the following for me:

    1. Unit collide with towers.
    2. Units cannot pass trough diagonal gaps between towers.
    3. Units do not collide with eachother.
    4. The Builder does not collide with either towers or units.

    I'd like to thank Holymini for helping me out with this. I hope this can be of help to anyone having the same difficulties.

    Posted in: Miscellaneous Development
  • 0

    posted a message on Unit Collision (TD) question

    Hello everyone,

    I would like some advice on how to achieve the following for my maze TD:

    I would like my enemy units to be able to collide with towers, but not with eachother or with my builder unit. I'd like them to path as if the other enemy unit's aren't there to avoid them clogging up at a narrow space in the player's maze.

    The enemy unit's radii are set to 0.5 so they can't pass trough diagonal gaps of towers, and I'd like to keep it like that if possible.

    I've fiddled around a bit with the movers and unit collsion fields but to no avail yet.

    Any advice would be greatly appreciated.

    Posted in: Miscellaneous Development
  • To post a comment, please or register a new account.