Small World Engine API Reference - v0.76.20
    Preparing search index...

    Class StiffStrategy

    A camera strategy that rigidly follows a target.

    Implements

    Index
    constraints?: CameraConstraints

    Optional spatial constraints for the camera.

    maxRadius: number = 500

    Maximum allowed radius.

    minRadius: number = 2

    Minimum allowed radius.

    radius: number = 20

    The radius of the camera from the target.

    type: string = CameraStrategyType.STIFF

    The unique type identifier of the strategy.