• Studio

  • Studio API

  • Bots

  • Web API

  • Designer Resources

  • Host Resources

  • Globals

    CapsuleCollider

    Inherits from:

    CapsuleCollider is a collider component in Unity shaped like a capsule, suitable for elongated spherical objects where SphereCollider and BoxCollider aren't ideal fits. It detects collisions between GameObjects, allowing scripted reactions to these events. CapsuleColliders can be resized and repositioned to match GameObject shapes accurately. Unity's CapsuleCollider Documentation

    Properties

    center

    ClientOnly

    Defines the center position of the CapsuleCollider relative to the GameObject, adjustable to move the Collider from the GameObject's center. Unity's CapsuleCollider.center Documentation

    direction

    number
    ClientOnly

    Sets the orientation axis of the Collider's height, with values "0" for X-axis, "1" for Y-axis, and "2" for Z-axis. Unity's CapsuleCollider.direction Documentation

    height

    number
    ClientOnly

    Adjusts the vertical dimension of the CapsuleCollider, affecting its height. Unity's CapsuleCollider.height Documentation

    radius

    number
    ClientOnly

    Controls the size of the CapsuleCollider by adjusting its radius, allowing expansion or contraction. Unity's CapsuleCollider.radius Documentation

    Updated 12 days ago

    PocketWorlds Icon

    © 2025 Pocket Worlds. All rights reserved.