Struct PhysicsCollider
The collision geometry of a rigid body. If not present, the rigid body cannot collide with anything.
Inherited Members
Namespace: Unity.Physics
Assembly: solution.dll
Syntax
public struct PhysicsCollider : IComponentData, IQueryTypeParameter
Fields
| Name | Description |
|---|---|
| Value | The collider reference, null is allowed. |
Properties
| Name | Description |
|---|---|
| ColliderPtr | Gets the collider pointer. |
| IsUnique | Indicates whether this PhysicsCollider contains a unique Collider blob. That is, its Collider blob is not shared with any other PhysicsCollider. |
| IsValid | Gets a value indicating whether this object is valid. |
| MassProperties | Gets the mass properties. |