Version: Unity 6 (6000.0)
Language : English
Move edges
Update the shape of the collider 2D meshes

Work with multiple outlines

A SpriteA 2D graphic objects. If you are used to working in 3D, Sprites are essentially just standard textures but there are special techniques for combining and managing sprite textures for efficiency and convenience during development. More info
See in Glossary
’s physics shape can contain multiple separate outlines. This is useful if only specific areas of a Sprite need a ColliderAn invisible shape that is used to handle physical collisions for an object. A collider doesn’t need to be exactly the same shape as the object’s mesh - a rough approximation is often more efficient and indistinguishable in gameplay. More info
See in Glossary
2D MeshThe main graphics primitive of Unity. Meshes make up a large part of your 3D worlds. Unity supports triangulated or Quadrangulated polygon meshes. Nurbs, Nurms, Subdiv surfaces must be converted to polygons. More info
See in Glossary
for collisionA collision occurs when the physics engine detects that the colliders of two GameObjects make contact or overlap, when at least one has a Rigidbody component and is in motion. More info
See in Glossary
. For example, you might want a character to only respond to collisions on specific areas of its Sprite as part of your game’s damage mechanic.

To create a new rectangular outline with four control points, click and drag over any empty space in the Sprite Editor window. Repeat this step to create additional outlines. You can refine each outline in the same way you would for a single Physics Shape outline.

Fig. 1: Click and drag to create a four-point box. Fig. 2: Box physics shape with four control points.
Fig. 3: Click and drag again for another box. Fig. 4: Repeat to create more separate outlines.
Move edges
Update the shape of the collider 2D meshes