Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Components > API/Runtime/Engine/Components/UPrimitiveComponent
- UPrimitiveComponent::SetCollisionResponseToChannel()
- UDestructibleComponent::SetCollisionResponseToChannel()
- UMRMeshComponent::SetCollisionResponseToChannel()
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 |
virtual void SetCollisionResponseToChannel
&40;
ECollisionChannel Channel,
ECollisionResponse NewResponse
&41;
Remarks
Changes a member of the ResponseToChannels container for this PrimitiveComponent.
Parameters
| Name | Description |
|---|---|
| Channel | The channel to change the response of |
| NewResponse | What the new response should be to the supplied Channel |