Skip to content

abhicominin/Character-Controller-three.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Three.js Character Controller

A simple and lightweight character controller for the three.js library.

Features

  • Animation blending
  • Customizable movement
  • ⚠ More animations and Features will be added in future with Frameworks like Cannon,js

Installation

  • npm install
  • npm run dev
  • ⚠ Dont forget to use this project with suitable Webpack for Three.js

Customization

  • You can customize the movement speed, gravity strength, and jump height by adjusting the corresponding properties on the controller instance. Like:
controller.movementSpeed = 10;
controller.gravity = 9.8;
controller.jumpHeight = 10;