USkeletalMeshComponent::SetEnableGravity

Enables/disables whether this component is affected by gravity.

Windows
MacOS
Linux

Override Hierarchy

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

Syntax

virtual void SetEnableGravity
(
    bool bGravityEnabled
)

Remarks

Enables/disables whether this component is affected by gravity. This applies only to components with bSimulatePhysics set to true.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss