推出 Meta 帐户:创建 Meta 帐户,轻松登录 VR 设备。 详细了解

SET PLAYER GRAVITY

Change the gravity that is applied to a player.

Appearance in Composition Pane
Description

Set player gravity changes the downward acceleration of the player as they fall. The number unit is in meters per second squared. Smaller numbers allow higher jumping heights.
Parameters

player, number
Set the player’s gravity to the number in meters per second squared.


PREREQUISITE READING

SET PLAYER SPEED precedes this tutorial


Example 1: Decrease a player’s gravity

Imagine this is applied to an astronaut entering a new planet. Or it could be in a bounce house!