Home > server > BaseColliderOptions
The base options for a collider.
Signature:
export interface BaseColliderOptions |
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
number |
(Optional) The bounciness of the collider. | ||
|
(Optional) The bounciness combine rule of the collider. | |||
|
(Optional) The collision groups the collider belongs to. | |||
|
boolean |
(Optional) Whether the collider is enabled. | ||
|
number |
(Optional) The flags of the collider if the shape is a trimesh | ||
|
number |
(Optional) The friction of the collider. | ||
|
(Optional) The friction combine rule of the collider. | |||
|
boolean |
(Optional) Whether the collider is a sensor. | ||
|
number |
(Optional) The mass of the collider. | ||
|
(Optional) The on collision callback for the collider. | |||
|
(Optional) The parent rigid body of the collider. | |||
|
(Optional) The relative position of the collider. Relative to parent rigid body. | |||
|
(Optional) The relative rotation of the collider. Relative to parent rigid body. | |||
|
The shape of the collider. | |||
|
(Optional) The simulation the collider is in, if provided the collider will automatically be added to the simulation. | |||
|
string |
(Optional) An arbitrary identifier tag of the collider. Useful for your own logic. |