Class BoneColliderInformation

Stores all collider shapes of all bones in a skeleton.

Hierarchy

  • FrameworkObject
    • BoneColliderInformation

Constructors

Methods

  • Returns the collider for the given bone

    Parameters

    • boneName: string

      The bone for which to get the collider

    Returns ColliderShape

    The collider associated with the given bone or null if there is no collider for the given bone

  • Sets the collider for the bone with the specified name.

    Parameters

    • boneName: string

      The bone to set the collider for

    • boneCollider: ColliderShape

      The collider to use for the bone

    Returns void