-
Notifications
You must be signed in to change notification settings - Fork 24
Scripts.HeadBobber
Wesley Haws edited this page Jan 1, 2017
·
2 revisions
##Scripts - HeadBobber
###What does this do?
Will move the camera up and down to simulate walking.
###Who/What is this for?
Gives a bit more life to the player. Makes it seem less like a floating camera.
###Setup
Example Setup:
Parameter | Type | Description |
---|---|---|
Walk Bobbing Speed | float | How fast to move the camera up and down when not sprinting. |
Run Bobbing Speed | float | How fast to move the camera up and down when sprinting. |
Bobbing Amount | float | How far to move the camera up and down. |
Midpoint | float | The center point to bob from. |
The following is a list of github repositories that made all of this possible:
delta patches: https://github.com/OctopusDeploy/Octodiff
.net 4 implemented in Monodevelop: https://github.com/mono/mono
Tuples In Unity: https://gist.github.com/michaelbartnett/5652076
Octodiff: https://github.com/OctopusDeploy/Octodiff
Input Manager: https://github.com/daemon3000/InputManager