Photon Fusion 2.1.1

NetworkTransformTrace.ForecastData Struct Reference

Forecast Data. More...

Public Attributes

Vector3 DesiredVelocity
 The velocity that forecasting wants us to have.
float LerpAlpha
 The lerp value.
Vector3 NewVelocity
 The new velocity to be set on the rigidbody.
Vector3 PreviousVelocity
 The velocity before forecasting is applied.

Detailed Description

Forecast Data.

Member Data Documentation

◆ NewVelocity

Vector3 NewVelocity

The new velocity to be set on the rigidbody.

Is the result of a lerp betwee PreviousVelocity and DesiredVelocity using LerpAlpha