Skip to content

Source engine-like movement in Unity, based on Fragsurf by cr4yz (Jake E.).

License

Notifications You must be signed in to change notification settings

jackhric/UnitySourceMovement

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Update 15 August 2019: Added experimental step offset functionality. (not in demos)

Unity Source Movement

Based on Fragsurf by cr4yz (Jake E.), available here: https://github.com/AwesomeX/Fragsurf-Character-Controller/

Video demo: https://www.youtube.com/watch?v=w5BquYbCBAE

An adaptation of the Source engine's movement mechanics in Unity, including strafe jumping, surfing, bunnyhopping, swimming, crouching and jump-crouching (optional), as well as sliding (optional). The player can also push rigidbodies around.

If you want the player to collide with objects that are not on the default layer, you can set the layer mask in the SurfPhysics class.

You can use the included 'Example player prefab' as a base, or just add SurfCharacter to an empty object and do the looking/aiming system yourself.

About

Source engine-like movement in Unity, based on Fragsurf by cr4yz (Jake E.).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%