Skip to content

A physics based character controller inspired by Genshin Impact & The Legend of Zelda: Breath of The Wild

Notifications You must be signed in to change notification settings

1157030004/protagonist-controller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Protagonist Controller

A physic based character controller inspired by Genshin Impact & Zelda BTOW.

Architecture

This system is following Hierarchical FInite State Machine (HFSM) design pattern to orchestrate every states.

Floating Capsule

By giving upward force to capsule collider, the protagonist will be able to move in many complex ground structure such as: slope, stairs and niche.

Input System

New Input system is used to handle two different inputs: Mouse & keyword and Gamepad

Camera Movement

By using Cinemachine, the camera is able to behave in number of behaviors:

  • Colliding with environment
  • Automatic recentering
  • Zoom in & out

Grounded Movement

In grounded movement, the protagonist is able to:

  • Idling
  • Walking
  • Running
  • Dashing
  • Sprinting
  • Rolling
  • Landing It also includes variation of animation transition between states

Airborne Movement

In airborne movement, the protagonist is able to"

  • Falling
  • Jumping
  • Gliding

Upcoming Features

  • Swimming system
  • Diving system
  • Climbing system

About

A physics based character controller inspired by Genshin Impact & The Legend of Zelda: Breath of The Wild

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages