# GetGroundHit(out WheelHit)

> Gets ground collision data for the wheel.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine](/engine/6000.7/script-reference/unityengine.md)
* **Assembly:** UnityEngine.VehiclesModule

## GetGroundHit(WheelHit)

```csharp
public bool GetGroundHit(out WheelHit hit)
```

### Parameters

**** (\[WheelHit]\(/engine/6000.7/script-reference/unityengine/wheelhit)):&#x20;

### Returns

| Type                                                          | Description |
| ------------------------------------------------------------- | ----------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) |             |

### Remarks

If the wheel collides with something, returns `true` and fills the `hit` structure. If the wheel is not colliding, returns `false` and leaves `hit` structure unchanged.

The reported hit is always the closest one. Because the tire friction model does not automatically respond to other [PhysicsMaterial](/engine/6000.7/script-reference/unityengine/physicsmaterial.md)s, any simulation of different ground materials must be done manually by adjusting [\_forwardFriction](/engine/6000.7/script-reference/unityengine/wheelcollider/forwardfriction.md) and [\_sidewaysFriction](/engine/6000.7/script-reference/unityengine/wheelcollider/sidewaysfriction.md) based on collider's material returned here.
