Set look direction upon conversation start (w/ Dialogue System)

ChristianWiele

Active member
Hi,

when I start a conversation with an NPC through the Dialogue System integration, I would like to set the look direction of my player to the head of the NPC. But I am not sure how to achieve this as the camera controller only allows to get the look direction, but not to set it. I am using the 3rd person view type, and the gameplay input is disabled during conversation.

Thanks, Christian
 
You could use the Look At ability to have the character look at a specific point.
 
Thanks for the hint. Instead of using the Look At ability, I set the LookAtPosition of the CharacterIK directly when starting a conversation because I don't need to detect the conversant. The only thing I had to add was a call to the PositionImmediately() of the camera controller. This would be probably also required using the ability.
 
Top