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
Snap a Virtual Object to the "shootingObjectSnapHitbox" hitbox.
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