Epok Engine

EPOK RUNTIME

epok::Collider2DComponent

Class

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

---- Collider2D ------------------------------------------------------------------------ One box or circle placed at the owner's world position plus `shape.offset` (the offset turns and scales with the owner; box extents scale but stay axis-aligned).

Namespace
epok
Header
world2d_components.hpp
Include
#include "world2d_components.hpp"
Module
world2d-components
Source
runtime/world2d_components.hpp:361
Inherits from
ActorComponent

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 "world2d_components.hpp"

epok::Collider2DComponent& value = /* obtain a valid instance from your game */;

Fields and constants

Public methods