Struct BoxCollider2DComponent#

Struct Documentation#

struct BoxCollider2DComponent#

Public Functions

constexpr BoxCollider2DComponent() noexcept = default#

Constructor.

Public Members

TRAP::Math::Vec2 Offset = {0.0f, 0.0f}#
TRAP::Math::Vec2 Size = {0.5f, 0.5f}#
f32 Density = 1.0f#
f32 Friction = 0.5f#
f32 Restitution = 0.0f#
f32 RestitutionThreshold = 0.5f#
b2Fixture *RuntimeFixture = nullptr#