Is it possible to get the horizontal dot product between the component of an actor (camera) and the target?

Wouldn’t it be easier to just Camera → GetForwardVector and then set the Character’s horizontal rotation to be the same?