• Studio

  • Studio API

  • Bots

  • Web API

  • Designer Resources

  • Host Resources

  • BoxCollider

    Inherits from: Collider

    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.

    Properties

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

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

    Updated about 1 month ago

    PocketWorlds Icon

    © 2024 Pocket Worlds. All rights reserved.