UPrimitiveComponent::IsGravityEnabled

Returns whether this component is affected by gravity.

Windows
MacOS
Linux

Override Hierarchy

UPrimitiveComponent::IsGravityEnabled()

USkeletalMeshComponent::IsGravityEnabled()

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Components/PrimitiveComponent.h

Include

#include "Components/PrimitiveComponent.h"

Source

/Engine/Source/Runtime/Engine/Private/PrimitiveComponentPhysics.cpp

Syntax

virtual bool IsGravityEnabled() const

Remarks

Returns whether this component is affected by gravity. Returns always false if the component is not simulated.

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