We’re introducing Meta accounts in August 2022: a new way to log into VR devices that doesn’t require a Facebook account. Learn more

LAUNCH PROJECTILE

Launches a projectile.

Appearance in Composition Pane
Description

Launches a projectile from a projectile launcher gizmo in the direction the projectile launcher is pointing. The speed, gravity, and other behaviors are set in the projectile launcher’s properties.
Parameters

object


PREREQUISITE READING

FORCE RELEASE precedes this tutorial


Example 1: Launch a projectile

When a player grabs an object with this script attached and presses their index trigger, a projectile is launched from the reference projectile launcher gizmo.

Next Up