UDestructibleComponent::SweepComponent

Trace a shape against just this component.

Windows
MacOS
Linux

Override Hierarchy

UPrimitiveComponent::SweepComponent()

UDestructibleComponent::SweepComponent()

References

Module

ApexDestruction

Header

/Engine/Plugins/Runtime/ApexDestruction/Source/ApexDestruction/Public/DestructibleComponent.h

Include

#include "DestructibleComponent.h"

Source

/Engine/Plugins/Runtime/ApexDestruction/Source/ApexDestruction/Private/DestructibleComponent.cpp

Syntax

virtual bool SweepComponent
(
    FHitResult & OutHit,
    const FVector Start,
    const FVector End,
    const FQuat & ShapeWorldRotation,
    const FCollisionShape & CollisionShape,
    bool bTraceComplex
)

Remarks

Trace a shape against just this component.

Returns

true if a hit is found

Parameters

Parameter

Description

OutHit

Information about hit against this component, if true is returned

Start

Start location of the box

End

End location of the box

ShapeWorldRotation

The rotation applied to the collision shape in world space.

CollisionShape

Collision Shape

bTraceComplex

Whether or not to trace complex

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss