Cylinder Collider v2
olivecrow
$11.99
$15.00
20%OFF
(no ratings)
Date |
Price |
---|---|
Date |
Price($) |
04/23(2024) |
15.0 |
04/23(2024) |
7.5 |
05/07(2024) |
15.0 |
06/21(2024) |
11.99 |
11/22(2024) |
11.99 |
Jump AssetStore
---If you have any questions or find an error, please send an email to olivecrow.report@gmail.comAnd if you purchased different versions of this asset, please send me an email with the invoice. I will provide you with the voucher code for this asset.---v2.1 update [2024-05-03]Due to structural changes, version 2.1 is not compatible with previous versions. If you are using version 2.0 or lower, please remove it before importing the new version.---🟨Supports the latest collider APIs including Unity 6🟨🔴🔴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.Limitations1)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.4)When a Rigidbody is attached, the trigger event and collision event are each called on the child collider.