Creates a new plane collider shape.
The parameter to the call.
OptionalisInternalConstructor: booleanInformation describing the shape.
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.
Determines how far apart do two shapes need to be away from each other before the physics runtime starts generating repelling impulse for them. This distance will be the sum of contact offsets of the two interacting objects. If objects are moving fast you can increase this value to start generating the impulse earlier and potentially prevent the objects from interpenetrating. This value is in meters. Must be positive and greater than rest offset.
Also see setRestOffset().
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 at what distance should two objects resting on one another come to an equilibrium. The value used in the runtime will be the sum of rest offsets for both interacting objects. This value is in meters. Cannot be larger than contact offset.
Also see setContactOffset().
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.
If PlaneColliderShapeInformation: Information describing the shape.
If BoxColliderShapeInformation: Information describing the shape.
If SphereColliderShapeInformation: Information describing the shape.
If CapsuleColliderShapeInformation: Information describing the shape.
If MeshColliderShapeInformation: Information describing the shape.
Represents a single Collider shape.