# PhysicsQuery.ShapeSweep

> Describes the motion of a shape for a time-of-impact calculation. The shape is defined with respect to the body origin.

## Definition

* **Type:** Struct
* **Namespace:** [Unity.U2D.Physics](/engine/6000.7/script-reference/unity/u2d/physics.md)
* **Assembly:** UnityEngine.PhysicsCore2DModule
* **Implements:** [IEquatable\<ShapeSweep>](https://learn.microsoft.com/dotnet/api/system.iequatable-1)

```csharp
public struct PhysicsQuery.ShapeSweep : IEquatable<PhysicsQuery.ShapeSweep>
```

## Properties

| Property                                                                                                    | Description                              |
| ----------------------------------------------------------------------------------------------------------- | ---------------------------------------- |
| [localCOM](/engine/6000.7/script-reference/unity/u2d/physics/physicsquery/shapesweep/localcom.md)           | The local center of mass.                |
| [positionEnd](/engine/6000.7/script-reference/unity/u2d/physics/physicsquery/shapesweep/positionend.md)     | The world center of mass end position.   |
| [positionStart](/engine/6000.7/script-reference/unity/u2d/physics/physicsquery/shapesweep/positionstart.md) | The world center of mass start position. |
| [rotationEnd](/engine/6000.7/script-reference/unity/u2d/physics/physicsquery/shapesweep/rotationend.md)     | The world rotation end.                  |
| [rotationStart](/engine/6000.7/script-reference/unity/u2d/physics/physicsquery/shapesweep/rotationstart.md) | The world rotation start.                |
