Skip to content
This repository was archived by the owner on Nov 20, 2024. It is now read-only.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Disclaimer

This project is old! I was new to game development and programming when creating this. Some fundamentals may be a little off (for example, I have multiple characterController.Move() calls in a single frame). The logic is definitely not mathmatically correct either; I was mostly going for game "feel" at the time.

With this knowledge, clone, fork, do whatever you like! :)

FPSController

The goal of this controller was to mimic how Valves character controller feels in TF2.

Notable features:

PlayerController

  1. Can be affected by enviromental forces (Explosions, JumpPads, etc.) with PlayerForce
  2. Pick up small rigid bodies (Similar to Half-life and Portal)
  3. Move up and down triggers tagged as Ladder
  4. Smooth crouching
  5. Sliding down steep terrain
  6. Can walk up and any terrain smoothly
  7. Can jump in air to a desired limit (1 by default)
  8. Can swim in triggers tagged as Water, will drift slowly down if no input detected (disabled by default)

Future Goals

Create a camera shake/ recoil system Add networking support

About

Unity FPS Controller

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages