Skip to content

Point + Facing Targeter Spec

Class · USeinPointFacingTargeterSpec : USeinTargeterSpec

Parent: Sein Targeter Spec

#include "Abilities/SeinTargeterSpec.h"

Captures a point and facing direction independently of the visual style. Press anchors the point; drag chooses facing; release captures the pose. The footprint the pose must fit is the ability’s Footprint Actor Class.

int32 RotationStepDegrees · default 0 · min 0, max 360

Editable in defaults and on instances · Blueprint read-only

Quantization step for the captured rotation, in degrees.

0 → FREE ROTATION (no snap). Hologram + captured yaw match cursor direction continuously. Typical for standard click-to-place RTS placement. 45 → octagonal snap (8 steps). 90 → cardinal snap (4 steps). Typical for grid-aligned RTS. any → 360 / RotationStepDegrees discrete steps.

When > 0, the captured point’s RotationStep is the snapped index (0..StepCount-1) AND its YawDegrees is the snapped degrees. When = 0, RotationStep is always 0 and YawDegrees is the raw cursor yaw.

Most OnActivate logic should read YawDegrees uniformly — it works for both snapped and free modes. RotationStep is kept for cases where the integer step is genuinely useful (mapping to the navigation placement gate’s discrete yaw convention).