EPOK RUNTIME
epok::ColliderT
Class template
Declarations are extracted from the pinned headers. Examples and general guidance are generated sketches, not verified complete programs; consult the linked source and guides for the actual contract.
Class template
Number is Q12 (PsyQo Fixed on target).
Basic usage
This generated sketch illustrates syntax for reaching the type; adapt it to the actual API contract. Open a member below for an operation-specific example.
C++ example
#include "collision.hpp"
epok::ColliderT& value = /* obtain a valid instance from your game */;Fields and constants
box_countExposes `box_count` on `epok::ColliderT` for bounded AABB collision queries and movement.Fieldbox_gridExposes `box_grid` on `epok::ColliderT` for bounded AABB collision queries and movement.FieldboxesA compound static collider: `box_count` solid boxes of six Q8 values each (minimum x, y, z, then maximum x, y, z), relative to the owner's position.FieldcenterExposes `center` on `epok::ColliderT` for bounded AABB collision queries and movement.FieldenabledExposes `enabled` on `epok::ColliderT` for bounded AABB collision queries and movement.Fieldhalf_extentsExposes `half_extents` on `epok::ColliderT` for bounded AABB collision queries and movement.Fieldheight_cellsExposes `height_cells` on `epok::ColliderT` for bounded AABB collision queries and movement.Fieldheight_stepExposes `height_step` on `epok::ColliderT` for bounded AABB collision queries and movement.FieldheightsA height grid, which is the same idea as the ramp taken to two axes and arbitrary steps: a surface to stand on, never an obstacle.FieldlayerExposes `layer` on `epok::ColliderT` for bounded AABB collision queries and movement.FieldmaskExposes `mask` on `epok::ColliderT` for bounded AABB collision queries and movement.Fieldslope_axisExposes `slope_axis` on `epok::ColliderT` for bounded AABB collision queries and movement.Fieldslope_riseA ramp.FieldtriggerExposes `trigger` on `epok::ColliderT` for bounded AABB collision queries and movement.Field