Opened 8 years ago

Closed 7 years ago

#3892 closed defect (fixed)

Camera height should be relative to water level

Reported by: sanderd17 Owned by: elexis
Priority: Should Have Milestone: Alpha 22
Component: Core engine Keywords:
Cc: Patch: Phab:D700

Description (last modified by elexis)

Currenty, the camera height is only relative to the ground level. So on maps with deep water, it's possible the camera gets submerged suddenly when zoomed in.

And example can be seen on the Golden Island map.

In a less extreme case, the camera can still come very close to the water level, and it's possible to get the camera into some ship.

The camera height should be calculated as being relative to the maximum of the ground and water level

Change History (4)

comment:1 by elexis, 7 years ago

Description: modified (diff)
Milestone: BacklogAlpha 22
Patch: Phab:D638

This is very pronounced on Extinct Volcano.

comment:2 by Stan, 7 years ago

What part of the code is responsible for this ?

comment:3 by elexis, 7 years ago

Patch: Phab:D638Phab:D700

comment:4 by elexis, 7 years ago

Owner: set to elexis
Resolution: fixed
Status: newclosed

In 19896:

Ensure the camera position being above the water level (without smoothing the water level with the terrain).

Differential Revision:
Fixes #3892, D229, D638

Note: See TracTickets for help on using tickets.