mirror of
https://github.com/tangerineturtle1/NX2navi.git
synced 2026-11-19 15:09:58 -04:00
Let the free camera go anywhere, and make ground avoidance a switch that is off unless asked for.
The camera kept its height (only ZR and ZL changed it) and rose whenever the closest surface in the lower part of the view came within about three metres, so flying up to a character, a rock or a wall sent it upwards. It now moves where it looks and nothing stops it, the ground included. Ground avoidance is a checkbox in the debug menu's free camera section. With it on, the nine view distances read back from the lower view become points of the scene (from the view's angles and the camera's pitch), and only a column whose lowest surface rises by less than about 30 degrees counts as ground: the camera goes no lower than a metre above it. Steeper things, objects and walls, are left alone. The read-back runs only while the switch is on. Tested on a village save, 4 m/s forward for 5 s and then ZL for 4 s: with avoidance off the camera ended 17.4 m lower, through the floor; with it on it ended 0.7 m lower and held there. Flown at Link with the first version of the ground test, its height did not change. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
@@ -20,6 +20,14 @@
|
||||
to 18 degrees a frame) was taken for a cut to a new view. Only a jump of the camera or a turn of 30 degrees or more
|
||||
in one frame counts as a cut now.
|
||||
|
||||
## Changed
|
||||
|
||||
- **Debug menu: the free camera has no limits.** It flies where it looks and goes through walls, objects and the
|
||||
ground; it used to keep its height and climb whenever anything in the lower part of the view came within three
|
||||
metres, a character or a rock it was flown towards included. *Ground avoidance* is now a switch in the free camera's
|
||||
section, off unless you turn it on: with it the camera stays a metre above fields and gentle hills, and objects and
|
||||
walls never push it.
|
||||
|
||||
## Known issues
|
||||
|
||||
- At FSR's and DLSS's smaller modes, Link and other characters look a little coarser while they move: the upscaler
|
||||
|
||||
Reference in New Issue
Block a user