Epok Engine

EPOK RUNTIME

epok::ColliderT::height_step

Field

Field

Exposes `height_step` on `epok::ColliderT` for bounded AABB collision queries and movement.

Belongs to
epok::ColliderT
Header
collision.hpp

Declaration

Declaration
Number height_step

Exposes `height_step` on `epok::ColliderT` for bounded AABB collision queries and movement.

Type
Number
Storage
Per instance

Example

C++ example
#include "collision.hpp"

epok::ColliderT& object = /* obtain a valid instance */;
auto value = object.height_step;

// When mutation is valid for this object:
// object.height_step = replacement;

When it helps

Use this member when you need direct access to the state represented by its declared type.

Trade-offs and warnings

Direct field access has no validation step. Keep the owning object alive, respect units and ranges, and do not mutate state while hardware or another subsystem is consuming it.

Declared in runtime/collision.hpp:32