Search Unity

  1. Unity 2020.1 has been released.
    Dismiss Notice
  2. We are looking for feedback on the experimental Unity Safe Mode which is aiming to help you resolve compilation errors faster during project startup.
    Dismiss Notice
  3. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    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.
     
unityunity