UPrimitiveComponent::GetCollisionShape

Return a CollisionShape that most closely matches this primitive.

Choose your operating system:

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/Components/PrimitiveComponent.cpp

Syntax

virtual FCollisionShape GetCollisionShape
(
    float Inflation
) const

Remarks

Return a CollisionShape that most closely matches this primitive.