Optional
filterthe object this component is attached to
Note: Make sure to call updatePhysicsMaterial after having changed this property
Optional
membershipThe 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]
Optional
sharedThe physics material determines how the collider interacts with other colliders (e.g. bouncyness)
Note: Make sure to call updatePhysicsMaterial after having changed this property
Optional
earlyOptional
lateOptional
onOptional
onOptional
onOptional
onOptional
onOptional
oncalled 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
Optional
onOptional
onOptional
onOptional
onOptional
registeringexperimental, called when the script is registered for the first time, this is called even if the component is not enabled.
Optional
startOptional
update
The collider filter indicates what groups the collider can interact with (e.g. group 3 and 4)
An
undefined
array indicates that the collider can interact with all groupsNote: Make sure to call updateProperties after having changed this property
Default: undefined