# PhysicsQuery.WorldCastResult

> The results from performing any Cast query against the PhysicsWorld.

## Definition

* **Type:** Struct
* **Namespace:** [Unity.U2D.Physics](/engine/6000.6/script-reference/unity/u2d/physics.md)
* **Assembly:** UnityEngine.PhysicsCore2DModule

```csharp
public readonly struct PhysicsQuery.WorldCastResult
```

## Properties

| Property                                                                                               | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [fraction](/engine/6000.6/script-reference/unity/u2d/physics/physicsquery/worldcastresult/fraction.md) | The fraction of the query cast distance the shape would move to the point of detection, in the range \[0, 1].                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| [isValid](/engine/6000.6/script-reference/unity/u2d/physics/physicsquery/worldcastresult/isvalid.md)   | Check if the result is valid.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| [normal](/engine/6000.6/script-reference/unity/u2d/physics/physicsquery/worldcastresult/normal.md)     | The surface normal at the point of contact. In all non-overlapped cases, this will be a unit-normal. If there was an initial overlap, the normal will be zero (degenerate) along with the [\_fraction](/engine/6000.6/script-reference/unity/u2d/physics/physicsquery/worldcastresult/fraction.md) being zero and [\_point](/engine/6000.6/script-reference/unity/u2d/physics/physicsquery/worldcastresult/point.md) being an arbitrary point in the overlapped region. See [\_point](/engine/6000.6/script-reference/unity/u2d/physics/physicsquery/worldcastresult/point.md). |
| [point](/engine/6000.6/script-reference/unity/u2d/physics/physicsquery/worldcastresult/point.md)       | The point of contact.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| [shape](/engine/6000.6/script-reference/unity/u2d/physics/physicsquery/worldcastresult/shape.md)       | The shape that was detected by the cast.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |

## Structs

| Struct                                                                                                                                                 | Description                       |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | --------------------------------- |
| [PhysicsQuery.WorldCastResult.SortAscendingOrder](/engine/6000.6/script-reference/unity/u2d/physics/physicsquery/worldcastresultsortascendingorder.md) | Ascending distance sort comparer. |
