Meta accounts are here: you can create a Meta account to log into VR devices. 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