Custom 2D Colliders
July 16, 2021 ยท View on GitHub
A set of custom 2D colliders for Unity.
Preview
Colliders included:
- Bezier Curve Collider 2D
- Arc Collider 2D
- Ellipse Collider 2D
- Rounded Box Collider 2D
- Capsule Collider 2D
- Star Collider 2D
Installation:
Method 1:
- Open your Unity project
- Go to Assets > Import Package > Custom Package > Browse

- Select CustomColliders2D.unitypackage

- Select all the files
- Click on Import

Method 2:
- Simply drag the Custom 2D Colliders folder to your project
Usage
You can add the custom collider scripts to your gameobject in any of the following ways
- Drag the script from the project window on to the GameObject
- From the inspector window. Example: Add Component > Physics 2D > Bezier Curves Collider 2D

