Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/USkeletalMeshComponent
Description
Enables/disables whether this component is affected by gravity. This applies only to components with bSimulatePhysics set to true.
Virtual Inheritance
- UPrimitiveComponent::SetEnableGravity → USkeletalMeshComponent::SetEnableGravity
| Name | SetEnableGravity |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Components/SkeletalMeshComponent.h |
| Include Path | #include "Components/SkeletalMeshComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/SkeletalMeshComponentPhysics.cpp |
virtual void SetEnableGravity
(
bool bGravityEnabled
)