I use AnimNode to revised animation , and I wanna rotate the left hand of skeletal body to look at something(let me just called it ‘A’) in the world, and I don’t know how to do.
I override the function ‘EvaluateComponentSpace_AnyThread’ , use the method ‘SetComponentSpaceTransform’ to update my animation (I don’t find other method) , so I must know the A’s location in the body’s component space, but I don’t know how to convert A to the component space …
Hi! You can try to look at some source examples, for example here
https://github.com/EpicGames/UnrealEngine/blob/df84cb430f38ad08ad831f31267d8702b2fefc3e/Engine/Source/Runtime/AnimGraphRuntime/Private/AnimNodes/AnimNode_BlendBoneByChannel.cpp#L131