Method Create
Create(NativeArray<ColliderBlobInstance>)
Create a compound collider containing an array of other colliders. The source colliders are copied into the compound, so that it becomes one blob.
Declaration
public static BlobAssetReference<Collider> Create(NativeArray<CompoundCollider.ColliderBlobInstance> children)
Parameters
| Type | Name | Description |
|---|---|---|
| NativeArray<CompoundCollider.ColliderBlobInstance> | children | The children. |
Returns
| Type | Description |
|---|---|
| BlobAssetReference<Collider> | A BlobAssetReference<Collider> |