GravityFPSWalker

Author: Donitz (Original FPSWalker by Yoggy and ?)

Description
The GravityFPSWalker component is based on the RigidbodyFPSWalker and PhysicsFPSWalker components. It adds a Gravity vector which allows the FPSWalker to spin around freely while the player keeps control of local horizontal movement. Ground detection is done using raycasting.

With this controller the Camera should rotate in its own local space and convey its transform to the FPSWalker via the LookTransform variable.

Usage
Attach the GravityFPSWalker component to an object with a RigidBody. Add a Camera as a child GameObject and attach it to the LookTransform variable as a reference for the FPSWalker movement vectors.