Enfusion Script API
|
Read-only wrapper for GenericEntity::OnTransformResetImpl and GenericComponent::OnTransformReset parameters. More...
Public Member Functions | |
proto external vector | GetNewVelocity () |
Gets initial velocity of the owner entity after the transform reset. | |
proto external bool | IsCorrection () |
Gets a hint whether the transform was reset due to its correction (e.g. | |
Public Member Functions inherited from pointer | |
proto string | ToString () |
Read-only wrapper for GenericEntity::OnTransformResetImpl and GenericComponent::OnTransformReset parameters.
proto external vector TransformResetParams.GetNewVelocity | ( | ) |
Gets initial velocity of the owner entity after the transform reset.
Useful e.g. when velocity is computed using previous position which is invalid after transform reset.
proto external bool TransformResetParams.IsCorrection | ( | ) |
Gets a hint whether the transform was reset due to its correction (e.g.
by net-code), i.e. not a placement / teleport.