PhysicsSettings
Complete API reference for PhysicsSettings, including constructors, attributes, virtual attributes, and methods.
Package: JAVARuntime
Category: Physics
Component: no
public class PhysicsSettings
Constructors
| Signature | Description |
|---|---|
PhysicsSettings(PhysicsSettings) | Executes PhysicsSettings and returns after the underlying engine call finishes. |
PhysicsSettings() | Executes PhysicsSettings and returns after the underlying engine call finishes. |
Attributes
| Name | Type | Description |
|---|---|---|
physicsSettings | PhysicsSettings | Represents the physicsSettings value stored on this instance. Read or assign to update the property. |
Virtual Attributes
| Name | Type | Access | Description |
|---|---|---|---|
gravity | Vector3 | get/set | Returns the gravity of the world. |
Methods
| Signature | Returns | Description |
|---|---|---|
setGravity(float, float, float) | void | Sets the gravity of the world with the specified x, y, and z values. |