Publisher | olivecrow |
---|---|
File size | 41.97kB |
Number of files | 7 |
Latest version | 1 |
Latest release date | 2022-08-24 08:54:43 |
First release date | 2022-08-18 06:58:14 |
Supported Unity versions | 2018.4.2 or higher |
🔴🔴Features🔴🔴
1. Super easy to use. It can be used in the same way as any other collider.
2. Included Collider API. (sharedMaterial, isTrigger, direction, Raycast(), ClosestPoint... etc)
3. Of course, you can change variables at runtime as well.
4. Pipe shape of cylinder collider included.
5. TorusCollider included.
🟢🟢How to Use🟢🟢
Usage is very simple. It shares the same interface with other collider components in Unity.
The difference is only 2 variables.
Resolution : Determines the number of sub BoxColliders that make up CylinderCollider. The higher the value, the closer it is to a true cylinder.
Shape : You can select cylinder shape or pipe shape.
You can change all veriables in runtime. Just use it as if any other collider.
🟡🟡Limitation🟡🟡
1)
There is no feature to resize via gizmos in the scene view yet.
You have to adjust it through variables. I'll add that feature later.
But it has a feature to fit to the bounds of an attached renderer.
2)
Multiple Components in a gameObject is disallowed.
Because these components has child gameObject for primitive colliders and should find it on reset.
If you want add multiple colliders, add child gameObjects and attach the component to it.