If the camera collides with an object on the screen, said object will become semi-transparent in order to avoid extreme zooms to the player.
With this approach, if the player is close to the train, they will be able to see exactly where the train is without losing the camera distance or the player's visibility.
Example: Risk of Rain 2
When the player looks up and the camera collides with the ground, it will rotate and slightly zoom in. This will stop at a certain range.
To improve visibility for the player, the character will become semi-transparent at a certain point.
Additionally, when the player moves the camera up, the distance between the camera and the player will increase to provide better visibility of the floor around them.
When the second player is on the screen, but their vision is obstructed by another object, the player will see a silhouette of the second player in a contrasting color through the object.
Example: Valorant
Return to
Return to