

To open the Custom Physics Shape editor, in the Sprite Editor window, open the upper-left drop-down menu and select the Custom Physics Shape module. More info See in Glossary window, select the Sprite Editor button. To open the Sprite in the Sprite Editor window, in the Sprite’s Inspector A Unity window that displays information about the currently selected GameObject, asset or project settings, allowing you to inspect and edit the values. To open the Custom Physics Shape module, in the Project window A window that shows the contents of your Assets folder (Project tab) More info See in Glossary, select the Sprite you want to edit. More info See in Glossary’s component settings. 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. You can further refine the Physics Shape through the Collider An invisible shape that is used to handle physical collisions for an object. Nurbs, Nurms, Subdiv surfaces must be converted to polygons.

Unity supports triangulated or Quadrangulated polygon meshes. Meshes make up a large part of your 3D worlds. More info See in Glossary’s Physics Shape, which defines the initial shape of the Sprite’s Collider 2D Mesh The main graphics primitive of Unity. 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. If your goal is to cut out an area so that you have a transparent background behind it, remember that you will want to paste your image into a transparent canvas as a new layer *before* you start cutting anything out.Use the Sprite Editor’s Custom Physics Shape module to edit a Sprite A 2D graphic objects. A note about transparency For this second example, I didn't use a transparent background. I've cut out the monument and isolated it. Initially, the magic wand only picked up some of that sky, but multiple clicks pretty easily got me to the point where I had selected all of it - and isolated the monument. I chose to cut the area I had selected - the area outside the monument - out of the image. I start with one click of the magic wand. I clicked the sky area outside the monument a few times more while holding down the shift key and was able to select all of the area *outside* of the monument. Using the magic wand with shaded backgrounds Similarly, real-world images like the monument I've included here that have a relatively simple composition with straightforward shading can be easily cut out.

I could then copy and paste into another image if that's my goal. The area selected is outlined with flashing pixels. If I choose to cut the area out with a simple "Cut" command, I have the robot all by itself. One click with the magic wand, and I've selected the entire area outside of the robot. I started by opening a blank, transparent canvas and pasting the Instructables robot into it as a layer. Using the magic wand with illustrations, logos, and simple photos The easiest images to alter are ones like the illustration of the Instructables robot, which is basically a collection of flat colors with very clear outlines. As I did, hold down the shift key as you click to add more areas (pixels) to your selection. Once you begin using the magic wand, you may decide you need to combine additional flashing outline areas to your overall selection. Adjust tolerance down to make your magic wand pickier about choosing the area you want to cut out. Adjust the tolerance up to make the magic wand select pixels that are even more like the one you're clicking on. Hit the delete key or choose Cut from the Edit menu to delete selected areas.Īdjusting the magic wand What the magic wand is doing is looking at the overall photo and choosing pixels that are similar to the one you're clicking on.Hold down the shift key to add more areas to your selection (if needed).

The magic wand will outline the area selected with flashing dotted lines. Select the magic wand tool from the toolbar.You've got nothing to lose and an undo button with you at all times.
