celaria-formats
    Preparing search index...

    Class Barrier

    I slow down pesky lizards who pass me.

    I may be a wall or a floor depending on how my scale is formed. If my scale is neither and an attempt to serialize me is made, an Error is thrown.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Accessors

    Constructors

    Properties

    position: Vector3

    The position of where I am. Z is the gravity axis.

    rotation: number

    The rotation of the object I represent.

    scale: FlatVector3

    The scale of the object I represent.

    Accessors

    • get instanceId(): 3 | 4

      Returns 3 | 4

      If I can't decide if I am a wall or a floor.