|
2D Platform Controller
v1.7.0
Autogenerated code documentation for the 2D Platform Controller.
|
Slope details. More...
Public Attributes | |
| bool | allowSlopes = false |
| Set to true if the character can handle slopes. More... | |
| float | slopeLookAhead = 0.5f |
| How far to look ahead when determinin gif the character is on a slope. Large values will make the character tilt in the air. More... | |
| float | rotationSpeed = 0.25f |
| How fast to rotate to the sloped position (and back again) More... | |
| float | maxRotation = 45f |
| The maximum permissable rotation in degrees. More... | |
Slope details.
| bool SlopeDetails.allowSlopes = false |
Set to true if the character can handle slopes.
| float SlopeDetails.maxRotation = 45f |
The maximum permissable rotation in degrees.
| float SlopeDetails.rotationSpeed = 0.25f |
How fast to rotate to the sloped position (and back again)
| float SlopeDetails.slopeLookAhead = 0.5f |
How far to look ahead when determinin gif the character is on a slope. Large values will make the character tilt in the air.