New FPSController
Last updated
Last updated
The FPSController (AKFPS Controller Script) is a custom made controller for the Adventure Puzzle Kit which includes a bunch of features like:
Movement speeds, jump, look sensitivity, crouch, footstep audio, intervals and disabling controls which makes life so much easier when using the APK.
Walk Speed
This is the speed the character will move without pressing any sprinting buttons
Sprint Multiplier
This is a value that will multiply the walk speed to make the character feel like it's running
Crouch Speed
This is the speed of the character when crouching is enabled
Jump Force
This is how high the character will jump
Gravity
Increase this to make gravity feel stronger but 9.81 is earths normal level of gravity
Mouse Sensitivity
This is the senitivity for when you move the character around with your mouse
Up Down Range
So we can limit the movement up and down, so we can't awkwardly rotate behind ourselves and get dizzy
Crouch Height
How low we should be when crouching
Stand Height
How high we should be when standing
Crouch Transition Speed
How fast the transition should be from standing to crouching or vice versa
Crouch Key
The legacy input key used for crouching
Player Audio Source
The audio source (Usually on the FPSController) to play sound effects
Footstep Sounds
An array of sounds which can be played when walking, crouching or running
Jump Sound
The sound effect for jumping
Walk Step Inteveral
The time between each walking foostep
Sprint Step Interval
The time between each sprinting footstep
Crouch Step Interval
The time between each crouching footstep
Velocity Threshold
To limit and stop sounds being played, if the character isn't moving anymore
Control Toggles
An easy set of fields to edit with accompnying methods so you can disable character and camera movement