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
| Signature | Description |
|---|---|
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
| Name | Type | Description |
|---|---|---|
instance | VoxelPhysics | Represents the instance value stored on this instance. Read or assign to update the property. |
Virtual Attributes
| Name | Type | Access | Description |
|---|---|---|---|
climbSpeed | float | get/set | Virtual attribute exposed by getClimbSpeed. Access it like a field to read or write the underlying value. |
gravity | float | get/set | Virtual attribute exposed by getGravity. Access it like a field to read or write the underlying value. |
maxClimbHeight | float | get/set | Virtual attribute exposed by getMaxClimbHeight. Access it like a field to read or write the underlying value. |
maxGravitySpeed | float | get/set | Virtual attribute exposed by getMaxGravitySpeed. Access it like a field to read or write the underlying value. |
velocity | Vector3 | get/set | Virtual attribute exposed by getVelocity. Access it like a field to read or write the underlying value. |