I think we discussed something very similar in the past, but cannot find the old forum post.
1. Character controller variant (Ultimate Character Controller, First Person Controller, etc).
UCC 2.1.10
2. Unity version (include which SRP, beta Unity versions aren't supported)
2019.3.0f6, HDRP
3. Bug description
Observed: Camera Controller has an option to set the Anchor Transform in the inspector, but this is nullified and never used.
Expected: Camera Controller to accept non-bone transforms as an anchor.
4. Steps to reproduce
In demo scene:
Add empty GameObject to Nolan.
Drag this GO to the Anchor on CameraController (doesn't appear to make a difference if Nolan is selected in the inspector and set to Initialize on Awake).
hit test and observe Anchor defaults to Nolan Transform.
5. The full error message (if any)
N/A
Note: Ignoring both lines 426 and 439 (both "m_Anchor = null" ) of the CameraController seemed to allow all 3 possible options to work, but not sure why it is nullified.
Thanks
1. Character controller variant (Ultimate Character Controller, First Person Controller, etc).
UCC 2.1.10
2. Unity version (include which SRP, beta Unity versions aren't supported)
2019.3.0f6, HDRP
3. Bug description
Observed: Camera Controller has an option to set the Anchor Transform in the inspector, but this is nullified and never used.
Expected: Camera Controller to accept non-bone transforms as an anchor.
4. Steps to reproduce
In demo scene:
Add empty GameObject to Nolan.
Drag this GO to the Anchor on CameraController (doesn't appear to make a difference if Nolan is selected in the inspector and set to Initialize on Awake).
hit test and observe Anchor defaults to Nolan Transform.
5. The full error message (if any)
N/A
Note: Ignoring both lines 426 and 439 (both "m_Anchor = null" ) of the CameraController seemed to allow all 3 possible options to work, but not sure why it is nullified.
Thanks