Home > server > Simulation > setGravity
Sets the gravity vector for the simulation.
Signature:
setGravity(gravity: RAPIER.Vector3): void;|
Parameter |
Type |
Description |
|---|---|---|
|
gravity |
RAPIER.Vector3 |
The gravity vector. |
void
Home > server > Simulation > setGravity
Sets the gravity vector for the simulation.
Signature:
setGravity(gravity: RAPIER.Vector3): void;|
Parameter |
Type |
Description |
|---|---|---|
|
gravity |
RAPIER.Vector3 |
The gravity vector. |
void