For the complete documentation index, see llms.txt. This page is also available as Markdown.

Crossbow

Crossbow allows a user to shoot another Virtual Object out of it.

"Crossbow" is a Special Virtual Object that allows a user to shoot another Virtual Object from its "shootingObjectSnapHitbox" hitbox.

Shoot a Virtual Object

  1. Snap a Virtual Object to the "shootingObjectSnapHitbox" hitbox.

  2. While the Crossbow is grabbed, press the "Use" interaction to shoot the Virtual Object.

Adjust the velocity of the shot

An author can adjust the velocity of the shot by creating the following customizable attributes within the Crossbow Virtual Object. The attribute names must match exactly.

Attribute
Type
Default

xVelocity

float

0

yVelocity

float

25

zVelocity

float

400

Last updated