FClothingSimulationSolver::SetGravity

Set per group gravity, used to override solver's gravity. Must be called during cloth update.

Windows
MacOS
Linux

References

Module

ChaosCloth

Header

/Engine/Plugins/Experimental/ChaosCloth/Source/Chaos/Public/ChaosCloth/ChaosClothingSimulationSolver.h

Include

#include "ChaosCloth/ChaosClothingSimulationSolver.h"

Source

/Engine/Plugins/Experimental/ChaosCloth/Source/Chaos/Private/ChaosCloth/ChaosClothingSimulationSolver.cpp

Syntax

void SetGravity
(
    uint32 GroupId,
    const FVec3 & Gravity
)

Remarks

Set per group gravity, used to override solver's gravity. Must be called during cloth update.

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