Skip to main content

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.

Constructors​

MemberWhat it is
RotationBucketOLD()Creates a RotationBucketOLD with default values.

Fields​

MemberWhat it is
float clampDegreesMaximum degrees the part can turn from its rest rotation. Default 360.
Pickup[] handlePickupsPickups the player grabs to turn the part.
bool isUsingAdvancedUses the local-space, clamped rotation mode instead of the simple one.
Vector3 lastToDirection to the hands last frame. Runtime only.
float lerpSpeedHow fast the direction is smoothed when slerp is on.
Transform rotatingObjectThe transform that turns.
Vector3 rotationAxisAxis the part turns around. Default up.
bool slerpSmooths the tracked direction with a slerp.
Vector3 trackingVectorCurrent point the part tracks (the hands' midpoint). Runtime only.