Trying to override the camera upon disabling input.

Somosky

Member
So I'm attempting to add a few NPC's to my game and what I'm doing is in button down I'm disabling player input and setting the anchor of my camera to the NPC which works fine however the position and rotation of my camera is still at the last location before I disabled input. Is there a way for me to manually set a camera position and rotation after character input has been disabled? Is there some sort of override for that?
 
Instead of setting the anchor of the camera you should set the Character property. This will update the Camera Controller to point to the new character. When you are disabling input make sure you are using the OnEnableGameplayInput event.
 
Top