USkeletalMeshComponent::IsBodyGravityEnabled

Checks whether or not gravity is enabled on the given bone.

Windows
MacOS
Linux

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

bool IsBodyGravityEnabled
(
    FName BoneName
)

Remarks

Checks whether or not gravity is enabled on the given bone. NAME_None indicates the root body should be queried. If the bone name given is otherwise invalid, false is returned.

Returns

True if gravity is enabled on the bone.

Parameters

Parameter

Description

BoneName

The name of the bone to check.

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