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

    Class SpringLerpBehavior

    Smoothly interpolates an object towards a target position, creating an inertia/spring-like effect.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    isActive: boolean = true
    lerpFactor: number
    target: CameraInterfaceData | Object3D | undefined = undefined

    The object this behavior is attached to. Set automatically.

    targetPosition: Vector3D
    uuid: string = ...
    inspector?: Record<string, InspectorField>

    Methods