Cylinder Collider
olivecrow
$16.50
Date |
Price |
---|---|
日時 |
価格($) |
03/16(2024) |
16.5 |
03/16(2024) |
8.25 |
03/18(2024) |
8.25 |
03/30(2024) |
16.5 |
11/25(2024) |
16.5 |
Jump AssetStore
CylinderCollider and TorusCollider.
Pipe shape also included.🔴🔴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.6. Size can be changed using the gizmo.🟢🟢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.---If you have any questions or find an error, please send an email to olivecrow.report@gmail.comI don't check Asset Store reviews every day, so sending me an email is the fastest way for me to act.---🟡🟡Limitation🟡🟡1)Each component inherits MonoBehaviour, not Collider.This is simply because scripts that do not inherit from MonoBehaviour cannot be added to game objects.However, each component can implement Collider's API as is, so it can be used like any other Collider.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.3)Changing the size along an axis that does not match the collider's direction will result in a distorted shape.This is the same mechanism as no other collider transforms into a squashed shape.This package draws cylinders, pipes, and torus shapes with several basic colliders. Sub-objects with default colliders are hidden in Hierarchy View.