Hi everyone!
I need to orient the NPC’s head toward the player. Using BP it was an easy task (look at pic):
Now i need to do the same thing in code, but i have no idea where to start
Hi everyone!
I need to orient the NPC’s head toward the player. Using BP it was an easy task (look at pic):
Now i need to do the same thing in code, but i have no idea where to start
Why do you need to do it on code? You can also look at the source for modify bone which is AnimNode_ModifyBone.cpp and incorporate that.
Of course i can leave it in the blueprint, ma i wanna try to do it strictly in the c++ code (as far as possible). I tried to take a look at the AnimNode_ModifyBone.cpp, but It seems a bit more complicated than I thought (and i have to navigate trough tons of engine classes :eek: )