• Studio

  • Studio API

  • Bots

  • Web API

  • Designer Resources

  • Host Resources

  • Globals

    BoxCollider

    Inherits from:

    BoxCollider is an invisible, box-shaped component that defines the physical boundaries for GameObject interactions, crucial for collision detection and physical simulations. Ideal for simple, axis-aligned shapes like crates or buildings, it can be used with Rigidbody for physics-based interactions or for event triggering areas. It allows for specifying position and dimensions relative to the GameObject it's attached to. For comprehensive understanding, the official Unity BoxCollider documentation is recommended. Unity's BoxCollider Documentation

    Properties

    center

    ClientOnly

    Specifies the BoxCollider's position relative to the GameObject's local coordinates, enabling offset adjustments. Unity's BoxCollider.center Documentation

    size

    ClientOnly

    Adjusts the BoxCollider's dimensions within the GameObject's local space, suitable for aligning the collider accurately with the GameObject. Unity's BoxCollider.size Documentation

    Updated 21 days ago

    PocketWorlds Icon

    © 2025 Pocket Worlds. All rights reserved.