Version: 2022.3
언어: 한국어

PhysicsScene.ResetInterpolationPoses

매뉴얼로 전환
public void ResetInterpolationPoses ();

설명

Resets the Transform positions of interpolated and extrapolated Rigidbodies in this PhysicsScene to Rigidbody.position and Transform rotations to Rigidbody.rotation.

Call this method before simulating to prevent Transform poses of interpolated and extrapolated Rigidbodies from getting synced to the physics system. If multiple PhysicsScene.Simulate calls are to be made this frame, it's enough to call this method only once, before the first simulation.

This method is called automatically for the default PhysicsScene and therefore any manual calls on the defaultPhysicsScene will fail.

See Also: PhysicsScene.InterpolateBodies.