mirror of
https://github.com/celisej567/UnitySourceMovement.git
synced 2026-01-04 06:09:40 +03:00
16 lines
899 B
Markdown
16 lines
899 B
Markdown
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
|
|
|
|
WebGL demo: http://www.typicalgames.com/FragsurfDemo/index.html
|
|
|
|
|
|
A full adaptation of 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 around (and be pushed around by) rigidbodies.
|
|
|
|
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.
|