Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UPrimitiveComponent
Description
Return true if CreatePhysicsState() should be called. Ideally CreatePhysicsState() should always succeed if this returns true, but this isn't currently the case
Virtual Inheritance
- UActorComponent::ShouldCreatePhysicsState → UPrimitiveComponent::ShouldCreatePhysicsState
Derived Overrides
- UClusterUnionComponent::ShouldCreatePhysicsState
- UInstancedStaticMeshComponent::ShouldCreatePhysicsState
- USkeletalMeshComponent::ShouldCreatePhysicsState
- UStaticMeshComponent::ShouldCreatePhysicsState
| Name | ShouldCreatePhysicsState |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Components/PrimitiveComponent.h |
| Include Path | #include "Components/PrimitiveComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Components/PrimitiveComponent.cpp |
virtual bool ShouldCreatePhysicsState() const