Navigation
Unreal Engine C++ API Reference > 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.