UPrimitiveComponent::SetCollisionResponseToChannel

Changes a member of the ResponseToChannels container for this PrimitiveComponent.

Windows
MacOS
Linux

Override Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Components/PrimitiveComponent.h

Include

#include "Components/PrimitiveComponent.h"

Source

/Engine/Source/Runtime/Engine/Private/PrimitiveComponentPhysics.cpp

Syntax

virtual void SetCollisionResponseToChannel
(
    ECollisionChannel Channel,
    ECollisionResponse NewResponse
)

Remarks

Changes a member of the ResponseToChannels container for this PrimitiveComponent.

Parameters

Parameter

Description

Channel

The channel to change the response of

NewResponse

What the new response should be to the supplied Channel

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