Nocturna
    Preparing search index...

    RemoteGameObject wraps a local GameObject and synchronizes its position and state based on remote/network updates. Disables local physics to avoid conflicts.

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    id: string
    interpolator: Interpolator
    object: GameObject
    ownerId: string
    timestamp: number = 0
    Type: string = "remote_game_object"

    Methods

    • Updates the target position for interpolation, based on a network update.

      Parameters

      • position: Vector3

        The new position.

      • timestamp: number

        The timestamp of the update.

      Returns void