Documentation

Unity Engine

Download Unity

Unity Engine

PreUpdate.PhysicsUpdate

Native Player loop system that interpolates 3D physics body positions for the current frame.
Read time 1 minuteLast updated 5 days ago

Definition

public struct PreUpdate.PhysicsUpdate

Remarks

This system moves the Transforms of Rigidbody components that use interpolation, so that their motion looks smooth between physics steps. If Physics.simulationMode is set to update in the Update loop, there's nothing to interpolate.
This struct identifies a native system in the Player loop. It has no members, and the system's update logic runs in native engine code. Use this type with PlayerLoopSystem.type to find the system when you reorder, replace, or remove it in a custom Player loop. For more information, refer to Customizing the Player loop.