Skip to content

A first person controller plugin written for Unity.

License

Notifications You must be signed in to change notification settings

TheDudeFromCI/FirstSight

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

First Sight

First Sight is an out-of-the-box first person controller script for Unity. Complete with full physics support, camera shake/fov effects, footstep support, sprinting and object pushing, it should suite as a nice foundation for most projects to build off of.


Getting Started

This package is distributed through Open UPM. For more information about installing packages through Open UPM, see Open UPM's usage here.

Features

First Sight contains many common features, ready to drop in and use, as well as a already setup prefab player which contains all common features, ready to use in seconds.

Some of these features include:

  • Screen Shake
    • Shake the player's camera upon taking damage for falling from large heights. The amount of shake and duration are configurable and scale with the amount of damage taken. Shaking is controlled by a smooth interpolation function, making it fully compatible with time manipulation and framerate independent.
  • Footsteps
    • Adding subtle footstep sounds to a player can greating increase the immersion for the player by making things feel a bit more responsive and life-like. Footsteps sounds are automatically played based on the player's speed, stops while jumping, supports alternating between the left and right audio speakers, and even changes in volume depending on whether or not the player is sneaking, walking, or running.
  • Dynamic FOV
    • Automatically increase the camera's field of view slightly when the player is running, just to really sell that "moving really fast" effect.
  • Physics Object Pushing
    • Walking into a very-movable box and having it just sit there isn't too much fun. This feature allows you to push thos pesky boxes out of your way, respecting mass and angle of impact. If it's in your way, move it. Short and sweet. :)

API Changes

As the package has not yet reached the v1.0.0 release quite yet, expect API changes or prefab changes between different versions of the package. Simple patch updates, however, will not effect these changes externally.

Additional Information

You can find more information about using this Unity package by checking out the Documentation page. This page is also included in local installations within the FirstSight/Documentation~ folder in your Unity Packages directory.

About

A first person controller plugin written for Unity.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages