Input Scripts allow you to create any Actions you wish or control the included features within this asset. We have provided 36 pre-configured scripts as example prefabs, including two haptic feedback scripts for controller vibration. You can view these in the example scene.

The example prefab scripts have been named appropriately so they are easy to understand. Each of them can be dragged into as a Linked Object in the Optional Bindings section or they can be added to a Trigger Collider using the included OpenWorlds Script. Check out the Example Scene to see how this works.

We have also included an On Start Trigger where you can also add OpenWorlds Input Scripts. You can experiment with the Delay parameter, you need to be aware of delays within Unity etc, for example, instantiating a character needs to complete before you access it.

The most powerful script is the ExecuteList script where you can stack other input scripts for sequential execution.

Check out the Example Script to see how to code your own Inputs, and watch the OpenWorlds Tutorial on building Input Scripts.
Where they live
All 36 scripts are in Assets/Plugins/OpenWorlds/OpenWorldsInputScripts/. Every one implements the same tiny IOpenWorldsInput interface — a single inputmethod() entry point — so they can all be dragged into an Optional Binding, a Trigger Collider, an On Start Trigger, or stacked inside ExecuteListScript interchangeably.
Movement & Rotation
| Script | What it does |
|---|---|
PlayerMovementScript | Enables/configures thumbstick movement for the player |
PlayerRotationScript | Enables/configures thumbstick rotation for the player |
PlayerMoveSpeedScript | Sets the player's move speed to a configured value |
PlayerWalkRunScript | Sets the player's locomotion state to Walk or Run |
ToggleMovementScript | Toggles player movement on/off |
ToggleWalkRunScript | Toggles between Walk and Run locomotion states |
IK (Inverse Kinematics)
| Script | What it does |
|---|---|
PlayerIKActiveScript | Enables head/hand/body IK on the local player |
PlayerIKInActiveScript | Disables head/hand/body IK on the local player |
ResetPlayerIKScript | Resets the IK solver back to its default pose |
TogglePlayerIKScript | Toggles IK on/off, per body part |
Grab & Interaction
| Script | What it does |
|---|---|
SetLeftHoldScript | Sets the left hand's hold/grab state to true |
SetRightHoldScript | Sets the right hand's hold/grab state to true |
ToggleLeftHoldScript | Toggles the left hand's hold/grab state |
ToggleRightHoldScript | Toggles the right hand's hold/grab state |
ToggleDirectGrabScript | Toggles Direct Grab interaction on/off |
ToggleMagneticGrabScript | Toggles Magnetic Grab interaction on/off |
TogglePokeScript | Toggles Poke interaction on/off |
ToggleRayScript | Toggles the UI Ray interaction on/off |
ToggleTeleportScript | Toggles Teleport interaction on/off |
Haptics
| Script | What it does |
|---|---|
SendLeftHapticScript | Sends a haptic (vibration) pulse to the left controller. Exposes Amplitude (0–1) and Duration (seconds) |
SendRightHapticScript | Sends a haptic (vibration) pulse to the right controller. Exposes Amplitude (0–1) and Duration (seconds) |
Character
| Script | What it does |
|---|---|
SwapCharacterScript | Swaps the player to a specific character model |
ToggleCharacterScript | Cycles between available character models |
DisplayCSPanelScript | Shows the Character Selection panel |
Camera & Recentering
| Script | What it does |
|---|---|
RecenterPlayerScript | Recenters the VR view/player position (see Recentering Player) |
ResetVRCameraScript | Resets the VR camera to its default position |
UI & HUD
| Script | What it does |
|---|---|
ToggleHUDScript | Toggles the in-game HUD visibility |
TogglePlayerHudScript | Toggles the player-specific HUD elements |
ToggleLeftObjectScript | Toggles a linked GameObject's active state, bound to the left hand |
ToggleRightObjectScript | Toggles a linked GameObject's active state, bound to the right hand |
Sequencing & Utility
| Script | What it does |
|---|---|
ExampleScript | Template/reference showing how to write your own IOpenWorldsInput script |
ExecuteListScript | Runs a stacked list of other input scripts in sequence |
ChangeActionScript | Changes which linked object is bound to an Optional Binding mode/action slot |
ConsoleMessageScript | Prints a message to the console — useful while debugging a trigger chain |
WaitAndExecuteScript | Waits a configured delay, then executes a linked input script |
WaitForSecondsScript | Waits a configured delay — typically stacked inside ExecuteListScript |
Assets/Plugins/OpenWorlds/OpenWorldsInputScripts/ — each is short and self-contained.