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