Version: 2022.3
言語: 日本語
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.