Skip to main content

HandHandler

A class in Root.Township, the global namespace.

Client: per-hand state for smooth locomotion, with the hand's controller and its teleporter, rotator and gesture input. Get them from SmoothLocomotion.LeftHand and RightHand.

Constructors​

MemberWhat it is
HandHandler(Controller controller)Creates a HandHandler from controller.

Properties​

MemberWhat it is
float AngleStrength { get; set; }Not used by the game's own code.
SplitVector3 BodyOffset { get; set; }Not used by the game's own code.
Vector3? ClosedPosition { get; set; }Not used by the game's own code.
Quaternion ClosedRotation { get; set; }Not used by the game's own code.
Controller Controller { get; }The hand's controller.
Transform ControllerTransform { get; }The controller's transform.
Vector3 CornerPosition { get; set; }Not used by the game's own code.
ControllerActionProxy GestureProxy { get; }The controller's gesture action input.
bool IsInteractInterrupted { get; }True when interact is held but nothing is being interacted with, outside free gesture mode with a skeleton. Smooth locomotion checks it.
bool IsValidGrab { get; set; }Not used by the game's own code.
HandHandler OtherHand { get; set; }The handler for the other hand.
RoomRotator Rotator { get; }The controller's room rotator extension.
Teleporter Teleporter { get; }The controller's teleporter extension.

Used in​

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