Skip to main content

VoxelPhysics

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

Package: JAVARuntime

Category: Voxels

Component: yes


public class VoxelPhysics extends Component

Constructors

SignatureDescription
VoxelPhysics(VoxelPhysics)Executes VoxelPhysics and returns after the underlying engine call finishes.
VoxelPhysics(Engine)Executes VoxelPhysics and returns after the underlying engine call finishes.
VoxelPhysics()Creates a new instance of VoxelPhysics.

Attributes

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

Virtual Attributes

NameTypeAccessDescription
climbSpeedfloatget/setVirtual attribute exposed by getClimbSpeed. Access it like a field to read or write the underlying value.
gravityfloatget/setVirtual attribute exposed by getGravity. Access it like a field to read or write the underlying value.
maxClimbHeightfloatget/setVirtual attribute exposed by getMaxClimbHeight. Access it like a field to read or write the underlying value.
maxGravitySpeedfloatget/setVirtual attribute exposed by getMaxGravitySpeed. Access it like a field to read or write the underlying value.
velocityVector3get/setVirtual attribute exposed by getVelocity. Access it like a field to read or write the underlying value.