UPrimitiveComponent::SetCollisionEnabled

Controls what kind of collision is enabled for this body

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 SetCollisionEnabled
(
    ECollisionEnabled::Type NewType
)

Remarks

Controls what kind of collision is enabled for this body

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