Next: , Previous: , Up: Motion   [Contents][Index]


12.7 Hover

Component: Hover

This component implements physics-based hovering. It raycasts down into the scene to find out if we are above something, and if so it applies upward force.

Field of Hover: LayerMask hoverRayMask

Which objects can we hover over?

Hover Settings

Field of Hover: float rayDistance

How high can we go before hover thrust stops?

Default value: 6.0f

Field of Hover: Vector3 rayOffset

How far should the hover check ray be offset from origin?

Field of Hover: float hoverForce

How much upward thrust is applied by this hover motor?

Default value: 5.0f

Field of Hover: LayerMask hoverRayMask

Which objects can we hover over?

Hover Settings

Field of Hover: float rayDistance

How high can we go before hover thrust stops?

Default value: 6.0f

Field of Hover: Vector3 rayOffset

How far should the hover check ray be offset from origin?

Field of Hover: float hoverForce

How much upward thrust is applied by this hover motor?

Default value: 5.0f