hooch87 / OpenCharacterController

Framework for building first and third person character controllers in Unity.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Open Character Controller

Framework for building first and third person character controllers in Unity.

Early work-in-progress!

This is a pretty early work in progress. While I'm building this off of my experience putting together first person controllers for a few prototypes, it's likely that this is going to take a while before it's complete for a game. By all means use it and let me know how I can improve it, but don't expect it to be a drop-in solution for a first person controller just yet.

Direction

My goal with Open Character Controller is to provide a set of building blocks and basic framework for building first and third person character controllers in Unity. At the heart is the CharacterBody component which is logically (but not API wise) a replacement for the built in CharacterController component. The CharacterBody provides custom physics and collision detection in a way that is more customizable than the CharacterController in Unity.

On top of that I'm working to build a framework for the character controllers themselves. The hope is to have something that, while potentially requiring code to set up, makes it easy to assemble a character controller meeting the needs of a game without a lot of manual toil work.

Runtime vs Examples

Currently there is code in both a "Runtime" folder and an "Examples" folder. The idea is that a game can omit the entire "Examples" folder and get what I consider to be the core of this framework. Player controllers are highly game specific and I want to be careful about putting too much into the core systems that won't be highly reusable, hence building things out as example code instea. That said, as code and systems in the examples folder stabilize and appear to be reusable, I will be moving more into the Runtime folder.

About

Framework for building first and third person character controllers in Unity.

License:MIT License


Languages

Language:C# 100.0%