Skip to main content

VoxelPhysics

class VoxelPhysics

The physics for the Voxel system.


public class VoxelPhysics
extends Component

— Constructors (1) —

ConstructorDescription
VoxelPhysics()Creates a new VoxelPhysics.

— Methods (10) —

NameDescription
float getClimbSpeed()Returns the current value of the VoxelPhysics climb speed.
void setClimbSpeed(float value)Sets the current value of the VoxelPhysics climb speed.
float getGravity()Returns the current gravity value of VoxelPhysics.
void setGravity(float value)Sets the current gravity value of VoxelPhysics.
float getMaxClimbHeight()Returns the current value of the VoxelPhysics maximum climb height.
void setMaxClimbHeight(float value)Sets the current value of the VoxelPhysics maximum climb height.
float getMaxGravitySpeed()Returns the current value of the VoxelPhysics gravity maximum velocity.
void setMaxGravitySpeed(float value)Sets the current value of the VoxelPhysics gravity maximum velocity.
Vector3 getVelocity()Returns the current VoxelPhysics velocity values.
void setVelocity(Vector3 value)Sets the current VoxelPhysics velocity values.