Howdy,
I'm switching between player prefabs in an 'AvatarCustomisation' mode, where I have a custom CameraOffset to perfectly pan around the character in 3rd person while the player customises their avatar.
Some changes involve only skin changes, but when there is a prefab change, the camera 'snaps' back to a 'behind' position on the new character once the camera picks up that it is the active character.
As the player will be able to pan anywhere around the character I need to stop this snapping from occurring. I've tried using a 'get' on the last transform of the camera and trying to 'set' immediately after the new prefab appears, but this sadly does not work.
I've also tried unchecking the 'Init Character On Awake' (I don't think this is related to this anyway though).
I'm switching between player prefabs in an 'AvatarCustomisation' mode, where I have a custom CameraOffset to perfectly pan around the character in 3rd person while the player customises their avatar.
Some changes involve only skin changes, but when there is a prefab change, the camera 'snaps' back to a 'behind' position on the new character once the camera picks up that it is the active character.
As the player will be able to pan anywhere around the character I need to stop this snapping from occurring. I've tried using a 'get' on the last transform of the camera and trying to 'set' immediately after the new prefab appears, but this sadly does not work.
I've also tried unchecking the 'Init Character On Awake' (I don't think this is related to this anyway though).