Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Physic Shapes and Atlas

Discussion in '2017.1 Beta' started by Relax, Jul 9, 2017.

  1. Relax

    Relax

    Joined:
    Oct 7, 2012
    Posts:
    1
    Hello,

    I am currently testing out the new atlas and physics shape features. I am using the sprite atlas to build a tile map in form of a mesh which works fine. I am now wondering if I can use the new physics shape feature to generate my collision geometry for the tile map.

    If I get a sprite from an atlas that has been packed with sprites that have physics shapes attached, are the shapes still included?

    If so how can I get at the physics shape of a sprite to be used in a seperate collider? Possibly even for merging into a single big collider. I see no suitable methods on the sprite class.

    Thanks in advance.