PhysicsQuery.WorldMoverResult
The world mover result used by the world mover.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Struct
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
- Implements: IDisposable
public readonly struct PhysicsQuery.WorldMoverResult : IDisposable
Properties
Property | Description |
|---|---|
| collisionResults | All the individual PhysicsShape.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 _collisionResults is true. |
| transform | The final transform the mover finished at. The transform rotation is always the same as the _transform provided. |
| velocity | The final velocity the mover finished at. |
Methods
Method | Description |
|---|---|
| Dispose | Dispose of any allocated memory for the collision results. |