Skip to content
CISV2.0GET IT ON FAB

REFERENCESTRUCTS AND ENUMS

FCISInteractionObjectSide

MODULECharacterInteractionSystemINCLUDECommon/CISTypes.h

One side of an interaction object: the arc of directions from which a character can use the object, the MoveHandler that brings the character to the side, the pairs of object state and Action, and when the Action starts. The object lists its sides in InteractionSides; a use records the index of its side (FCISExecutionContext::SideIndex).

Properties

float InteractionAngleMin = 0.f

One end of the side's arc, in degrees of yaw from the object's forward (X) direction. Positive turns towards the object's right (Y) side. See bAngleSide for how the two ends make the side.

Default
0.f
Category
Settings
float InteractionAngleMax = 0.f

The other end of the side's arc, in the same units and direction as InteractionAngleMin.

Default
0.f
Category
Settings
bool bAngleSide = false

Takes the rest of the circle instead of the smaller arc between the two ends. With both ends at 0, the object can then be used from every direction.

Default
false
Category
Settings
UCISInteractionObjectMoveHandler* InteractionObjectSideMoveHandler = nullptr

The MoveHandler that brings the character to this side before the Action. Null: the use has no movement step.

Default
nullptr
Category
Settings
TArray<FCISInteractionObjectActionData> InteractionObjectSideActions

The pairs of object state and Action of this side. The state of the object selects one of them when a use starts.

Category
Settings
ECISActionExecutionType ActionExecutionType = ECISActionExecutionType::StartAfterFinishMoveHandler

When the Action starts relative to the MoveHandler; see ECISActionExecutionType. StartAfterFinishMoveHandler by default.

Default
ECISActionExecutionType::StartAfterFinishMoveHandler
Category
Settings
FCISInteractionObjectSideDebugData DebugData

Debug drawing of this side; see FCISInteractionObjectSideDebugData.

Category
Settings