RotationBucketOLD
A internal class in Root.Township, the global namespace. Reach it through att-stubs' publicized assemblies or Harmony's AccessTools.
Settings for one rotating part of the old pickup rotation puzzle. Serializable data only; nothing in this code uses it.
- Listed in Global namespace: Q to R
Constructors
| Member | What it is |
|---|---|
RotationBucketOLD() | Creates a RotationBucketOLD with default values. |
Fields
| Member | What it is |
|---|---|
float clampDegrees | Maximum degrees the part can turn from its rest rotation. Default 360. |
Pickup[] handlePickups | Pickups the player grabs to turn the part. |
bool isUsingAdvanced | Uses the local-space, clamped rotation mode instead of the simple one. |
Vector3 lastTo | Direction to the hands last frame. Runtime only. |
float lerpSpeed | How fast the direction is smoothed when slerp is on. |
Transform rotatingObject | The transform that turns. |
Vector3 rotationAxis | Axis the part turns around. Default up. |
bool slerp | Smooths the tracked direction with a slerp. |
Vector3 trackingVector | Current point the part tracks (the hands' midpoint). Runtime only. |