Skip to content

bowstring

eisclimber edited this page Apr 4, 2026 · 1 revision

BowString

Class in ExPresSXR.Minigames.Archery.Bow

Inherits from UnityEngine.XR.Interaction.Toolkit.Interactables.XRBaseInteractable

Summary

An interactable that can be grabbed that will visualized a bowstring. It will calculate the strength the bow will be drawn (linear between two points) and visualize it via a LineRenderer.

public class BowString : XRBaseInteractable

Fields

Name Description
OnStringReleased Emitted when the string is released.

Methods

Name Description
ProcessInteractable(XRInteractionUpdateOrder.UpdatePhase) Update the current pullStrength and visuals of the bow string.

Properties

Name Description
AutoShot Will shoot arrows automatically. For debugging.
PullStrength Current pull strength. For debugging.

ExPresS XR Wiki

Tutorial Pages

Code Documentation

Clone this wiki locally