Next: Input Rotator, Previous: HingeMotor, Up: Motion [Contents][Index]
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.
LayerMask
hoverRayMaskWhich objects can we hover over?
float
rayDistanceHow high can we go before hover thrust stops?
Default value: 6.0f
Vector3
rayOffsetHow far should the hover check ray be offset from origin?
float
hoverForceHow much upward thrust is applied by this hover motor?
Default value: 5.0f
LayerMask
hoverRayMaskWhich objects can we hover over?
float
rayDistanceHow high can we go before hover thrust stops?
Default value: 6.0f
Vector3
rayOffsetHow far should the hover check ray be offset from origin?
float
hoverForceHow much upward thrust is applied by this hover motor?
Default value: 5.0f