Version: Unity 6.7 Beta (6000.7)
LanguageEnglish
  • C#

PhysicsEvents.WorldTransformPlaneChange

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

Description

Event callback for a world transform-plane change event. This only fires when the mapping between 2D physics space and 3D world space actually changes. A world using PhysicsWorld.TransformPlane.Custom also fires this when PhysicsWorld.transformPlaneCustom changes, reporting PhysicsWorld.TransformPlane.Custom as both the old and the new plane.

Do not treat a difference between the old and new plane as the test for whether anything changed, because a change to the custom transformation alone reports the same plane on both sides.