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

WorldMoverResult

struct in Unity.U2D.Physics

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

The world mover result used by the world mover.

Properties

Property Description
collisionResults All the individual MoverCollision results for all iterations. Multiple non-unique contacts for the same PhysicsShape may be returned due to iterations, overlapping and casting. This is only populated if PhysicsQuery.WorldMoverInput.collisionResults is true.
transform The final transform the mover finished at. The transform rotation is always the same as the PhysicsQuery.WorldMoverInput.transform provided.
velocity The final velocity the mover finished at.

Public Methods

Method Description
Dispose Dispose of any allocated memory for the collision results.