yaw and Pitch need getting from class BoneContext ????

i use

vAngles = GetAngleToTarget(TargetVector,MyVector);

and

pPlayer->m_pBoneContext->yaw = vAngles.x;
pPlayer->m_pBoneContext->pitch = vAngles.y;

but this no correct transform coordinates.
This is no target to player