Navigation
API > API/Runtime > API/Runtime/Chaos > API/Runtime/Chaos/FCharacterGroundConstraint
Description
Set the target change in position for the character. This is used to move the character along the ground, and this target will be clamped to the ground plane. The solver will apply a force to move the character to the desired position as long as the character is considered to be on the ground and the force required is less than or equal to the radial force limit. For motion off of the ground, e.g. jumping, set a velocity or impulse on the character body directly. This should be set every frame for a locomoting character, and the value is typically controlled either from a character movement model or from root motion extracted from an animation sequence.
| Name | SetTargetDeltaPosition |
| Type | function |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/Character/CharacterGroundConstraint.h |
| Include Path | #include "Chaos/Character/CharacterGroundConstraint.h" |
void SetTargetDeltaPosition
(
const FVec3 & Value
)