An open API service indexing awesome lists of open source software.

https://github.com/rohangaikwad/Custom-2D-Colliders

A set of custom 2D colliders for Unity.
https://github.com/rohangaikwad/Custom-2D-Colliders

Last synced: 5 months ago
JSON representation

A set of custom 2D colliders for Unity.

Awesome Lists containing this project

README

        

# Custom 2D Colliders
A set of custom 2D colliders for Unity.

## Preview
[![alt Preview](http://i.imgur.com/jbxKI0x.png)](https://www.youtube.com/watch?v=v6FlvXqluYA&list=PLuCGxF1wPog7dYSQ3B8p1gvzBBMp7xsAQ)

## 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

![alt Select Package](http://i.imgur.com/RuTrR2p.png)
- Select **CustomColliders2D.unitypackage**

![alt Select Package](http://i.imgur.com/dlmBDkA.png)
- Select all the files
- Click on **Import**

![alt ada](http://i.imgur.com/75F7dCt.png)

### 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

![alt Adding the collider](http://i.imgur.com/aC4wSzt.jpg)