-
Notifications
You must be signed in to change notification settings - Fork 5
Component Collider
Berke edited this page Jun 23, 2026
·
1 revision
The Collider component defines the physical collision shape and interaction behavior of an entity.
ColliderType.Sphere
ColliderType.BoxDefines the shape of the collider.
col.isValidReturns whether the collider is valid.
booleancol.typeSets or gets the collider shape type.
ColliderTypecol.type = ColliderType.Boxcol.isActiveEnables or disables collision detection.
booleancol.isTriggerIf true, collider acts as a trigger (no physical response).
booleancol.isTrigger = truecol.scaleSize of the collider.
Vector3col.stepSizeMovement stepping resolution for collision checks.
numberlocal col = entity.collider
col.type = ColliderType.Sphere
col.isTrigger = false
col.scale = Vector3(1, 2, 1)