|
2D Platform Controller
v1.7.0
Autogenerated code documentation for the 2D Platform Controller.
|
Raycast collider. The main collision object. More...
Public Attributes | |
| Transform | transform |
| The transform to use when calculating this collision. By defaults it s the mian transform This is the easiest way to change the shape of your character. For example you can attach to a bone, or transform a collider up or down if your character is ducking/standing. More... | |
| Vector3 | offset |
| The offset from the centre of the transform. More... | |
| float | distance = 1 |
| The distance of the collider. Longer colliders tend to give better behaviour. More... | |
| RC_Direction | direction |
| The direction of the collider. More... | |
Raycast collider. The main collision object.
| RC_Direction RaycastCollider.direction |
The direction of the collider.
| float RaycastCollider.distance = 1 |
The distance of the collider. Longer colliders tend to give better behaviour.
| Vector3 RaycastCollider.offset |
The offset from the centre of the transform.
| Transform RaycastCollider.transform |
The transform to use when calculating this collision. By defaults it s the mian transform This is the easiest way to change the shape of your character. For example you can attach to a bone, or transform a collider up or down if your character is ducking/standing.