SmoothFollow is a body dynamic behavior which when applied to a scene object, makes it stay in the same relative horizontal position and distance to the user's field of view as they turn their head left and right and move around. It doesn't affect the positioning of the scene object when the user looks up and down or changes elevation. Interpolation is handled by a spring-damper in cylindrical coordinates.

Constructors

Methods

  • Returns void

  • Returns void

  • Parameters

    • visibleWidth: number

    Returns void

  • Returns void