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

PUSH IN LOCAL SPACE

Push in local space orients your velocity to the local object’s axis rather than the world’s axis.

Appearance in Composition Pane
Description

Push in local space adjusts the velocity of an object by a vector in meters per second. The direction of the push is based on the rotation of the object. Each coordinate of the push vector applies to the respective axis of the object. For instance, the X of the vector applies a push in the X direction of the object.
Parameters

object, vector
Pushes the object by a vector in meters per second, based on the object’s rotation.


PREREQUISITE READING

PUSH WITH MASS precedes this tutorial


Example 1: Propulsive motion

Every 0.1 seconds, the rocket’s velocity increases 1 meter per second in the direction of the rocket’s y-axis. The y-axis of the rocket needs to point up for the rocket to accelerate upwards.

Next Up