Table of Contents

ResetInterpolation

Methods
public void ResetInterpolation(bool setToLastSamples = false)

Clear all state of the interpolation used on the synced variables and properties of this entity.

Parameters
Type Name Description
bool setToLastSamples

Set the value of each binding to the latest sampled value.

Remarks

This is useful when the existing interpolation would interfere with the position and movement of the entity. For example, after teleporting it to a completely new location.