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

SET PROJECTILE GRAVITY

Sets the gravity of the projectile.

Appearance in Composition Pane
Description

Changes the gravity setting on a projectile launcher gizmo affecting its projectiles.
Parameters

object, number


PREREQUISITE READING

LAUNCH PROJECTILE AT SPEED precedes this tutorial


Example 1: Turn off the projectile’s gravity

When the turnoffgravity event is received, the gravity of the projectiles are set to 0.