Skip to content

Sein Extents Shape

Struct · FSeinExtentsShape

#include "Components/SeinExtentsPayload.h"

deterministic: safe in simulation code

One volumetric primitive on an entity. Compound entities (vehicle hull + turret, L-shaped building) author multiple shapes; simple entities just use one. Each shape’s pose (LocalOffset + YawOffset) composes with the entity transform — entity-local space.

Cone is intentionally not a member of this enum — entity bodies aren’t cone-shaped. Sight cones, firing arcs, and similar directional effects use FSeinStampShape on dedicated effect components.

ESeinExtentsShape Shape · default ESeinExtentsShape::Capsule

Editable in defaults and on instances · Blueprint read and write

Primitive kind. Per-shape parameters below show/hide on this.

FFixedVector LocalOffset · default FFixedVector::ZeroVector

Editable in defaults and on instances · Blueprint read and write

Local-space position offset from the entity transform, rotated by entity yaw at query time. Z is honored — elevated colliders (tank turret on chassis, upper floor of a multi-story building) get their Z bounds shifted by this.

FFixedPoint YawOffsetDegrees · default FFixedPoint::Zero

Editable in defaults and on instances · Blueprint read and write

Yaw rotation (degrees) added to the entity’s yaw for this shape’s orientation. Drives Box axes; ignored for Capsule (rotationally symmetric in XY). Use non-zero for off-axis hull sections (e.g. tank turret rotated independently of chassis when authored at rest-pose).

FFixedPoint Radius · default FFixedPoint::FromInt(40) · shown when Shape == ESeinExtentsShape::Capsule · min 0.0

Editable in defaults and on instances · Blueprint read and write

Top-down disc radius (world units). Capsule only.

FFixedPoint HalfExtentX · default FFixedPoint::FromInt(150) · shown when Shape == ESeinExtentsShape::Box · min 0.0

Editable in defaults and on instances · Blueprint read and write

Half extent along the entity’s forward axis (after YawOffset). Box only. Total length = 2 × HalfExtentX.

FFixedPoint HalfExtentY · default FFixedPoint::FromInt(100) · shown when Shape == ESeinExtentsShape::Box · min 0.0

Editable in defaults and on instances · Blueprint read and write

Half extent along the entity’s right axis. Box only. Total width = 2 × HalfExtentY.

FFixedPoint Height · default FFixedPoint::FromInt(180) · min 0.0

Editable in defaults and on instances · Blueprint read and write

Vertical extent in world units above the shape’s Local Offset Z. Used for visibility-as-target and, when the entity blocks vision, for fog-of-war occlusion. Typical values: prone infantry 80, standing infantry 180, tank 150, building floor 300. A Height of 0 means no vertical extent: navigation blocking still works, but fog-of-war blocking is skipped because a zero-height occluder cannot block sight. For a capsule that should read as a sphere, set Height near its Radius.

C++ members (1)
  • FSeinStampShape AsStampShape() const; Adapter: produce the equivalent FSeinStampShape for cell-iteration consumers (visibility-as-target, nav stamping, FoW blocker stamping). The conversion is cheap — Box → Rect, Capsule → Radial, with LocalOffset.Z dropped (stamps are planar). Kept inline so the cost is folded into the consumer’s loop.