EPOK RUNTIME
epok::CharacterMotionSample2D
Struct
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.
Struct
Struct declared by the character2d module for pixel-unit character commands and derivable actors over the existing 2D body solver.
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 "character2d.hpp"
epok::CharacterMotionSample2D& value = /* obtain a valid instance from your game */;Fields and constants
blockedExposes `blocked` on `epok::CharacterMotionSample2D` for pixel-unit character commands and derivable actors over the existing 2D body solver.FielddisplacementExposes `displacement` on `epok::CharacterMotionSample2D` for pixel-unit character commands and derivable actors over the existing 2D body solver.FieldgroundedExposes `grounded` on `epok::CharacterMotionSample2D` for pixel-unit character commands and derivable actors over the existing 2D body solver.FieldjumpedExposes `jumped` on `epok::CharacterMotionSample2D` for pixel-unit character commands and derivable actors over the existing 2D body solver.Fieldon_ceilingExposes `on_ceiling` on `epok::CharacterMotionSample2D` for pixel-unit character commands and derivable actors over the existing 2D body solver.Fieldon_wallExposes `on_wall` on `epok::CharacterMotionSample2D` for pixel-unit character commands and derivable actors over the existing 2D body solver.FieldstatusExposes `status` on `epok::CharacterMotionSample2D` for pixel-unit character commands and derivable actors over the existing 2D body solver.FieldvelocityExposes `velocity` on `epok::CharacterMotionSample2D` for pixel-unit character commands and derivable actors over the existing 2D body solver.Field