Optionalfilterthe object this component is attached to
Note: Make sure to call updatePhysicsMaterial after having changed this property
OptionalmembershipThe collider membership indicates what groups the collider is part of (e.g. group 2 and 3)
An undefined array indicates that the collider is part of all groups
Note: Make sure to call updateProperties after having changed this property
Default: [0]
OptionalsharedThe physics material determines how the collider interacts with other colliders (e.g. bouncyness)
Note: Make sure to call updatePhysicsMaterial after having changed this property
OptionalearlyOptionallateOptionalonOptionalonOptionalonOptionalonOptionalonOptionaloncalled when this.context.isPaused changes or when rendering loop changes due to changing DOM element visibility e.g. when the DOM element becomes hidden or out ot view
OptionalonOptionalonOptionalonOptionalonOptionalregisteringexperimental, called when the script is registered for the first time, this is called even if the component is not enabled.
OptionalstartOptionalupdate
The collider filter indicates what groups the collider can interact with (e.g. group 3 and 4)
An
undefinedarray indicates that the collider can interact with all groupsNote: Make sure to call updateProperties after having changed this property
Default: undefined