Creates a new plane collider shape.
Information describing the shape.
OptionalisInternalConstructor: booleanNew shape instance.
Creates a new box collider shape.
Information describing the shape.
New shape instance.
Creates a new sphere collider shape.
Information describing the shape.
New shape instance.
Creates a new capsule collider shape.
Information describing the shape.
New shape instance.
Creates a new mesh collider shape.
Information describing the shape.
New shape instance.
Creates a new heightmap collider shape.
Information describing the shape.
New shape instance.
Returns the information describing a collider shape. If the current shape isn't of the provided type, default information is returned.
Returns the information describing a collider shape. If the current shape isn't of the provided type, default information is returned.
Determines which (if any) collision events are reported.
Returns the information describing a collider shape. If the current shape isn't of the provided type, default information is returned.
Determines the mass of the collider. Only relevant if the collider is part of a rigidbody. Ultimately this will determine the total mass, center of mass and inertia tensors of the parent rigidbody (if they're being calculated automatically).
Determines the physical material of the collider. The material determines how objects hitting the collider behave.
Determines the physical material of the collider. The material determines how objects hitting the collider behave.
Determines the physical material of the collider. The material determines how objects hitting the collider behave.
Returns the information describing a collider shape. If the current shape isn't of the provided type, default information is returned.
Returns the information describing a collider shape. If the current shape isn't of the provided type, default information is returned.
Determines the rotation of the collider shape relative to the owning collider.
Returns the information describing a collider shape. If the current shape isn't of the provided type, default information is returned.
Returns the type of the collider shape.
Updates the internal shape to match the provided shape information.
Information describing the shape.
Updates the internal shape to match the provided shape information.
Information describing the shape.
Updates the internal shape to match the provided shape information.
Information describing the shape.
Updates the internal shape to match the provided shape information.
Information describing the shape.
Updates the internal shape to match the provided shape information.
Information describing the shape.
Updates the internal shape to match the provided shape information.
Information describing the shape.
Represents a single Collider shape.