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

PhysicsWorld.CheckTransformChanges

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

Declaration

public static int CheckTransformChanges();

Returns

int The number of changed transforms that were detected.

Description

Checks for any transform changes. Anything using PhysicsWorld.RegisterTransformChange will immediately be notified of any changes. This should be used sparingly otherwise it may impact performance. The preference should be not using this but instead control transform changes to be monitored with PhysicsWorld.transformChangeMode.