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.
- Host: GitHub
- URL: https://github.com/rohangaikwad/Custom-2D-Colliders
- Owner: rohangaikwad
- License: mit
- Created: 2016-01-19T05:03:07.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2024-02-04T20:52:43.000Z (about 1 year ago)
- Last Synced: 2024-07-29T16:15:55.422Z (9 months ago)
- Language: C#
- Size: 107 KB
- Stars: 151
- Watchers: 13
- Forks: 27
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-unity-open-source-on-github - Custom-2D-Colliders - A set of custom 2D colliders (Physics)
README
# Custom 2D Colliders
A set of custom 2D colliders for Unity.## Preview
[](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
- 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