Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UPrimitiveComponent
Description
Tells this component whether to ignore collision with another component when this component is moved. The other components may also need to be told to do the same when they move. Does not affect movement of this component when simulating physics.
| Name | IgnoreComponentWhenMoving |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Components/PrimitiveComponent.h |
| Include Path | #include "Components/PrimitiveComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Components/PrimitiveComponent.cpp |
UFUNCTION (BlueprintCallable, Category="Collision",
Meta=(Keywords="Move MoveIgnore", UnsafeDuringActorConstruction="true"))
void IgnoreComponentWhenMoving
(
UPrimitiveComponent * Component,
bool bShouldIgnore
)