Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Components > API/Runtime/Engine/Components/USkeletalMeshComponent
- UPrimitiveComponent::SetEnableGravity()
- USkeletalMeshComponent::SetEnableGravity()
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Components/SkeletalMeshComponent.h |
| Include | #include "Components/SkeletalMeshComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/SkeletalMeshComponentPhysics.cpp |
virtual void SetEnableGravity
&40;
bool bGravityEnabled
&41;
Remarks
Enables/disables whether this component is affected by gravity. This applies only to components with bSimulatePhysics set to true.