Skip to main content

VoxelCollider

class VoxelCollider

The collision for the Voxel system.


public class VoxelCollider
extends Component

— Constructors (1) —

ConstructorDescription
VoxelCollider()Creates a new VoxelCollider.

— Methods (6) —

NameDescription
float getHorizontalSize()Returns the current value of the horizontal size of the VoxelCollider.
void setHorizontalSize(float value)Sets the current value of the horizontal size of the VoxelCollider.
float getVerticalSize()Returns the current value of the vertical size of the VoxelCollider.
void setVerticalSize(float value)Sets the current value of the horizontal size of the VoxelCollider.
Vector3 getPositionOffset()Returns the current offset value of the VoxelCollider's position.
void setPositionOffset(Vector3 value)Sets the current offset value of the VoxelCollider's position.