Unreal Directive Docs
PluginsUDCoreFeaturesEditor Actor Subsystem

Bounds Calculation

Calculate and check actor bounds

Functions for checking if actors are within various shape bounds.

IsActorWithinBoxBounds

Checks if an actor is within the bounds of a box.

IsActorWithinBoxBounds

Parameters

NameTypeDescription
ActorAActor*The actor to check
BoxComponentUBoxComponent*The box component to check against

Returns

NameTypeDescription
ReturnValueboolTrue if the actor is within the box bounds

IsActorWithinSphereBounds

Checks if an actor is within the bounds of a sphere.

IsActorWithinSphereBounds

Parameters

NameTypeDescription
ActorAActor*The actor to check
SphereComponentUSphereComponent*The sphere component to check against

Returns

NameTypeDescription
ReturnValueboolTrue if the actor is within the sphere bounds

IsActorWithinCapsuleBounds

Checks if an actor is within the bounds of a capsule.

IsActorWithinCapsuleBounds

Parameters

NameTypeDescription
ActorAActor*The actor to check
CapsuleComponentUCapsuleComponent*The capsule component to check against

Returns

NameTypeDescription
ReturnValueboolTrue if the actor is within the capsule bounds

On this page