Description
The commented code in UpdatePortalRenderRotation renders the portal view in a way that allows the player to rotate the camera or move far enough away from the portal such that they can see under the floor. A video can be seen here: https://kurtw.github.io/portfolio/portal-game/.
Error(s)
How to recreate
Uncomment the mentioned code
Comment NewLocation = TargetLocation and PortalCaptureComponent->FOVAngle = 120.f
Spawn the portals
Rotate the camera to an extreme upward position
Resolved by
TBD, but the current solution is to set NewLocation = TargetLocation with PortalCaptureComponent->FOVAngle = 120.f, but this opens the door for other issues related to the view from the portal render and view magnification.
Description
The commented code in UpdatePortalRenderRotation renders the portal view in a way that allows the player to rotate the camera or move far enough away from the portal such that they can see under the floor. A video can be seen here: https://kurtw.github.io/portfolio/portal-game/.
Error(s)
How to recreate
Uncomment the mentioned code
Comment NewLocation = TargetLocation and PortalCaptureComponent->FOVAngle = 120.f
Spawn the portals
Rotate the camera to an extreme upward position
Resolved by
TBD, but the current solution is to set NewLocation = TargetLocation with PortalCaptureComponent->FOVAngle = 120.f, but this opens the door for other issues related to the view from the portal render and view magnification.