UPrimitiveComponent::SetCollisionResponseToChannels

Changes the whole 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 SetCollisionResponseToChannels
(
    const FCollisionResponseContainer & NewReponses
)

Remarks

Changes the whole ResponseToChannels container for this PrimitiveComponent.

Parameters

Parameter

Description

NewResponses

New set of responses for this component

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