mojira.dev
MC-268648

When generic.scale is set to 0.25, the camera zooms in when getting close to a block

If you set player scale to 0.25 and walk up to a wall in 3rd person(back facing) the camera suddenly zooms in when too close.

Make sure to face the wall in 3rd person(back facing)

How to reproduce:

  1. Do command /attribute @p minecraft:generic.scale base set 0.25

  2. Now go into 3rd person [f5]

  3. Walk up to a wall(facing the wall)

  4. [media]
  5. Notice the sudden zoom when too close

  6. [media]

Linked issues

Attachments

Comments 3

This is caused by the 0.1 not being scaled. Causing the rays to start too far, and colliding with the wall in front.
Working Fix: https://github.com/FxMorin/TinyWorld/commit/c4bb0ceb940e0a0843ec7249222ccc25e8fc66b5

 

marioshouse2010

(Unassigned)

Confirmed

Platform

Low

Commands

scale, zoom

24w07a, 24w12a, 1.20.5 Pre-Release 4, 1.20.6

Retrieved