Skip to main content

PhysicsSettings

Complete API reference for PhysicsSettings, including constructors, attributes, virtual attributes, and methods.

Package: JAVARuntime

Category: Physics

Component: no


public class PhysicsSettings

Constructors

SignatureDescription
PhysicsSettings(PhysicsSettings)Executes PhysicsSettings and returns after the underlying engine call finishes.
PhysicsSettings()Executes PhysicsSettings and returns after the underlying engine call finishes.

Attributes

NameTypeDescription
physicsSettingsPhysicsSettingsRepresents the physicsSettings value stored on this instance. Read or assign to update the property.

Virtual Attributes

NameTypeAccessDescription
gravityVector3get/setReturns the gravity of the world.

Methods

SignatureReturnsDescription
setGravity(float, float, float)voidSets the gravity of the world with the specified x, y, and z values.