FAnimNode_RigidBody::NeedsDynamicReset

For nodes that implement some kind of simulation, return true here so [ResetDynamics()](API\Runtime\Engine\Animation\FAnimNode_Base\ResetDynamics\1) gets called when things like teleports, time skips etc.

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

FAnimNode_Base::NeedsDynamicReset()

FAnimNode_RigidBody::NeedsDynamicReset()

References

Module

AnimGraphRuntime

Header

/Engine/Source/Runtime/AnimGraphRuntime/Public/BoneControllers/AnimNode_RigidBody.h

Include

#include "BoneControllers/AnimNode_RigidBody.h"

Source

/Engine/Source/Runtime/AnimGraphRuntime/Private/BoneControllers/AnimNode_RigidBody.cpp

Syntax

virtual bool NeedsDynamicReset() const

Remarks

For nodes that implement some kind of simulation, return true here so ResetDynamics() gets called when things like teleports, time skips etc. occur that might require special handling.

that this is called at load on the UAnimInstance CDO to avoid needing to call this at runtime. This is called on the game thread.