Skip to main content

DiggingImpactor.InteractorPositions

A private struct in Root.Township, the global namespace. Reach it through att-stubs' publicized assemblies or Harmony's AccessTools.

Where a hand was when it grabbed a buried DiggingImpactor, used to measure the pull or twist that unburies it.

Constructors​

MemberWhat it is
InteractorPositions(Transform transform, Vector3 position, float distanceToPivot)Creates a DiggingImpactor.InteractorPositions from transform, position and distanceToPivot.

Fields​

MemberWhat it is
float distanceToPivotThe grab point's distance from the pivot along the pull-out direction, a lever arm for torque.
Vector3 positionHand position at grab time.
1 private and internal field
MemberWhat it is
private Transform transformThe hand's ghost controller transform.

Properties​

MemberWhat it is
Vector3 Movement { get; }How far the hand has moved since it grabbed.

Used in​

Members of other types that take, return or hold a InteractorPositions: