A class in Root.Township, the global namespace.
The climbable used when a grabbed collider has no climbable of its own, so plain surfaces can be climbed. Held by ClimbingSettings.DefaultClimbable.
Constructors
| Member | What it is |
|---|
DefaultClimbable() | Creates a DefaultClimbable with default values. |
Properties
| Member | What it is |
|---|
bool CanClimb { get; } | Always true. |
bool CanMove { get; } | Always false. |
Vector3 CurentPressure { get; } | Always zero. |
float CurrentPressureRatio { get; } | Always 0. |
NetworkEntity Entity { get; } | Always null. |
float GripPriority { get; } | Always 1. Climbables with a higher priority win the grab. |
float MaximumPressure { get; } | Always -1 (no limit). |
float OldPressureRatio { get; } | Always 0. |
bool ReleasesImmediately { get; } | Always false. |
Events
| Member | What it is |
|---|
event Action Break | Never raised; adding handlers does nothing. |
Methods
| Member | What it is |
|---|
bool ApplyPressure(Vector3 pressure) | Ignores the pressure and returns true. |
virtual float GetGravityBoost(Vector3 normal) | Returns the surface normal's Y, so flatter tops give more boost. |