Version: Unity 6.5 Alpha (6000.5)
LanguageEnglish
  • C#

PhysicsWorldDefinition.syncInterpolation

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

public bool syncInterpolation;

Description

Controls if an extra write pass prior to the script fixed-update callback is made for any interpolation tweens to ensure that transforms are synchronized to the final body pose. Because this is an extra write pass, it has an impact on overall performance so only enable if you require transforms synchronized this way.

NOTE: This only affects PhysicsBody that have their PhysicsBody.transformWriteMode set to PhysicsBody.TransformWriteMode.Interpolate.