|
2D Platform Controller
v1.7.0
Autogenerated code documentation for the 2D Platform Controller.
|
Movement details. More...
Public Attributes | |
| float | walkSpeed = 3.0f |
| Speed the character walks at. More... | |
| float | runSpeed = 5.0f |
| Speed the chracter runs at. More... | |
| float | acceleration = 75.0f |
| The acceleration to apply when input is left or right. More... | |
| float | drag = 1.15f |
| The drag to apply each frame. More... | |
| float | terminalVelocity = -12.0f |
| The terminal velocity in the y direction. WARNING: If this is too large you will be able to fall through platforms. Make sure maxFrameTime * terminalVelcoty < feetCollider.distance. More... | |
| float | skinSize = 0.001f |
| Minimum movement distance, used to stop shaking. More... | |
Movement details.
| float MovementDetails.acceleration = 75.0f |
The acceleration to apply when input is left or right.
| float MovementDetails.drag = 1.15f |
The drag to apply each frame.
| float MovementDetails.runSpeed = 5.0f |
Speed the chracter runs at.
| float MovementDetails.skinSize = 0.001f |
Minimum movement distance, used to stop shaking.
| float MovementDetails.terminalVelocity = -12.0f |
The terminal velocity in the y direction. WARNING: If this is too large you will be able to fall through platforms. Make sure maxFrameTime * terminalVelcoty < feetCollider.distance.
| float MovementDetails.walkSpeed = 3.0f |
Speed the character walks at.