unreal.ResetToCachedTargetBehavior

class unreal.ResetToCachedTargetBehavior

Bases: EnumBase

Specifies how any reset to cached target should work.

C++ Source:

  • Plugin: PhysicsControl

  • Module: PhysicsControl

  • File: PhysicsControlComponent.h

RESET_DURING_UPDATE_CONTROLS: ResetToCachedTargetBehavior

Reset of the associated physics bodies will be done during the next Tick (or UpdateControls). Note that this will reset the bodies to the updated animation targets, and then there will be a subsequent physics update, which will result in the final transforms.

Type:

1

RESET_IMMEDIATELY: ResetToCachedTargetBehavior

Reset of the associated physics bodies is done immediately, to whatever transforms are in the cache. These will reflect the previous or the upcoming animation targets, depending on what stage of the tick this is called.

Type:

0