Esposter
    Preparing search index...

    Interface PathFollowerComponentConfiguration

    interface PathFollowerComponentConfiguration {
        path: Path;
        pathRotationOffset: number;
        rotateToPath: boolean;
    }

    Hierarchy (View Summary)

    Index

    Properties

    path: Path

    The Path this PathFollower is following. It can only follow one Path at a time.

    pathRotationOffset: number

    If the PathFollower is rotating to match the Path (@see Phaser.GameObjects.Components.PathFollower#rotateToPath) this value is added to the rotation value, in degrees. This allows you to rotate objects to a path but control the angle of the rotation as well.

    rotateToPath: boolean

    Should the PathFollower automatically rotate to point in the direction of the Path?