Geen omschrijving
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

SSCollision.md 1.2KB

Enabling Collision

Attach a Collider 2D component to your Sprite Shape to enable the Collider properties in the Sprite Shape Controller. However, note that only the Edge and Polygon Collider 2D components can be used with Sprite Shapes.

Attaching a Collider component

The Collider mesh automatically updates itself to the shape of the Sprite Shape when attached. See the Collider section of the Sprite Shape Controller page for more details about the various Sprite Shape Collider options.

Manually editing the Collider mesh

By default, the Collider mesh is automatically reshaped to match the Sprite Shape every time it is edited. To make manual edits to the Collider mesh directly, disable both Update Collider in the Sprite Shape Controller’s Collider settings by clearing their respective checkboxes. This prevents the Sprite Shape Controller from updating the Collider mesh automatically and overriding your manual edits.

Disabling the Collider options