Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/ASTRA228b/Astras-Pull-Mod-V1/llms.txt

Use this file to discover all available pages before exploring further.

Input bindings control which physical controller button you must hold for the pull boost to fire. The pull does not activate on surface release alone — your chosen binding must be held at the same moment. You select the binding from a dropdown menu in the Pull Mod GUI, and the change takes effect immediately.

Available bindings

Input nameControllerHardware description
Right GrabRightGrip button (analog float > 0.5)
Left GrabLeftGrip button (analog float > 0.5)
Right TriggerRightTrigger button
Left TriggerLeftTrigger button
RightJoyStick (Hold)RightJoystick click (SteamVR action)
LeftJoyStick (Hold)LeftJoystick click (SteamVR action)
A ButtonRightPrimary face button
B ButtonRightSecondary face button
X ButtonLeftSecondary face button
Y ButtonLeftPrimary face button
The default binding is Right Grab (index 0). If you have not changed the dropdown, the pull activates whenever you hold the right grip and release a surface.

How bindings are evaluated

Each binding maps to a polling function that reads the controller state every frame. The grab bindings use an analog threshold:
public static bool RightGrab => ControllerInputPoller.instance.rightControllerGripFloat > 0.5f;
public static bool LeftGrab  => ControllerInputPoller.instance.leftControllerGripFloat  > 0.5f;
Joystick bindings read from SteamVR actions:
public static bool RightJoystickClick => SteamVR_Actions.gorillaTag_RightJoystickClick?.state ?? false;
public static bool LeftJoystickClick  => SteamVR_Actions.gorillaTag_LeftJoystickClick?.state  ?? false;
The currently selected binding is checked each physics frame via InputSelector.Pressed. If it returns false, no pull fires even if a valid surface release was detected.
Joystick click bindings (RightJoyStick (Hold) and LeftJoyStick (Hold)) require SteamVR to be active. On headsets that do not use the SteamVR runtime, these bindings will never register as pressed and the pull will not fire.
On HTC Vive wands, the single face button on each controller maps to both PrimaryButton and SecondaryButton. This means the A and B bindings (right controller) and the X and Y bindings (left controller) behave identically on Vive hardware.
Grab bindings are the most reliable choice across all supported headsets. They work on Meta Quest, HTC Vive, Valve Index, and any other headset compatible with Gorilla Tag. If you are unsure which binding to use, start with Right Grab.

Build docs developers (and LLMs) love