Skip to main content

Colliders

info
  • This static class is only available on LocalAvatarScripts and LocalScripts

Provides events to be registered to collision and trigger events on an Item.

Static Methods

Method NameReturn TypeDescription
OnTriggerEntervoidRegisters a SandboxFunc to when an Item's trigger is entered
OnTriggerStayvoidRegisters a SandboxFunc to when an Item's trigger is entered and hasn't exited
OnTriggerExitvoidRegisters a SandboxFunc to when an Item's trigger is exited
OnCollisionEntervoidRegisters a SandboxFunc to when an Item's collider is entered
OnCollisionStayvoidRegisters a SandboxFunc to when an Item's collider is entered and hasn't exited
OnCollisionExitvoidRegisters a SandboxFunc to when an Item's collider is exited