Skip to content

Gamepro5/Custom_CharacterBody3D_Movement_System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Custom_CharacterBody_Movement_System

A fully custom made replacement for Godot 4's primitive "move_and_slide()" function. Was designed to imitate the source engine's character controller as closely as possible, with a few of my own tweaks and improvements.

Features:

  • Moving up slopes that are within your max-slope-angle will have zero effect on your x/z trajectory. This is different from move_and_slide(), and keeps it in-line with every other game engine.
  • Air jumps (similar to scout from TF2, but can be set to any value)
  • Swimming and water (uses Area3D). This can also be configured to add wind tunnels and other physics distorting volumes
  • Advanced stair stepping (a-la Quake)
  • Configurable acceleration and deceleration
  • Moving platforms (buggy right now)
  • Respects physics materials for floors (for instance, you can have icy surfaces for the player to walk on that change the acceleration and deceleration while on them)
  • Complex air strafing

To-do:

  • Fix platform bugs

Don't forget to read the license! This project is the result of 2 years of study and hard work.

About

A fully custom made replacement for Godot 4's primitive "move_and_slide()" function.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published