UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
CCDIK.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "BoneIndices.h"
6#include "Containers/Array.h"
7#include "CoreMinimal.h"
8#include "CoreTypes.h"
9#include "Math/MathFwd.h"
10#include "Math/Transform.h"
12
13#include "CCDIK.generated.h"
14
16USTRUCT()
18{
20
21public:
24
27
30
34
36
38 : TransformIndex(INDEX_NONE)
39 , CurrentAngleDelta(0.0)
40 {
41 }
42
45 , LocalTransform(InLocalTransform)
46 , TransformIndex(InTransformIndex)
47 , CurrentAngleDelta(0.0)
48 {
49 }
50};
51
52namespace AnimationCore
53{
54 ANIMATIONCORE_API bool SolveCCDIK(TArray<FCCDIKChainLink>& InOutChain, const FVector& TargetPosition, float Precision, int32 MaxIteration, bool bStartFromTail, bool bEnableRotationLimit, const TArray<float>& RotationLimitPerJoints);
55};
@ INDEX_NONE
Definition CoreMiscDefines.h:150
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition Platform.h:1125
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define USTRUCT(...)
Definition ObjectMacros.h:746
#define GENERATED_USTRUCT_BODY(...)
Definition ObjectMacros.h:767
Definition Array.h:670
Definition AngularLimit.cpp:6
bool SolveCCDIK(TArray< FCCDIKChainLink > &InOutChain, const FVector &TargetPosition, float Precision, int32 MaxIteration, bool bStartFromTail, bool bEnableRotationLimit, const TArray< float > &RotationLimitPerJoints)
Definition CCDIK.cpp:10