G-Zero is a new take on the hovercraft racing game F-Zero developed as a solo project for a Games & Playable Media programming course. Its character controller features novel hovering physics, where raycasts are used to determine the distance to the ground to calculate a hovering force that gets stronger as the ground approaches, keeping the hovercraft airborne (sparks fly if it bottoms out after a jump). Although it was not necessary for this flat, F-Zero inspired racecourse, three raycasts are performed and a cross product is used to calculate the ground normal so that torque can be applied to make the craft's rotation follow the terrain. The result is a craft that also works on sculpted 3D terrain surfaces.
The project is available to view and download via thisĀ public Github repository. It uses Unity version 2019.3.0f6.

You may also like

Back to Top