class PhysicsGravitationalFieldEvent
Gravitational Field */
Name | Type | Description | |
---|---|---|---|
physicsHelper | PhysicsHelper | ||
scene | Scene | ||
origin | Vector3 | ||
radius | number | ||
strength | number |
Returns the data related to the gravitational field event (sphere).
@returns {PhysicsGravitationalFieldEventData}
Enables the gravitational field.
Disables the gravitational field.
Disposes the sphere.
Name | Type | Description | |
---|---|---|---|
optional | force | boolean |