minetest / minetest

Minetest is an open source voxel game-creation platform with easy modding and game creation
https://www.minetest.net/
Other
10.59k stars 1.99k forks source link

3rd Person Bugs #10841

Open wwar-XeStro opened 3 years ago

wwar-XeStro commented 3 years ago
Minetest versions: 5.4.0 (Android 5.5.0-dev)
Every platform...

Third person camera has bugs to see/interact through walls.

1-

While using 3rd person's view in a stuck place the player can see through the blocks. e.g. if you are underground and use that camera you will see all caves nearby.

1

Using 3rd person's view on PC gives only 1 block reach, on android the reach starts from the screen to 1 block infront of the character. That makes the player able to interact behind themself in android.

2-

With 3rd person camera, when inside blocks without corners, aiming between them makes it possible to see through them:

2

3-

In PC, aiming between blocks in the right edges may make you interact through blocks. On android as I said the player's reach starts from the camera to 1 block infront of the character so reaching the glass inside the red triangles is possible: (Fov=120) 3

If there is a solid objects/block in the green "w" above it shows like: 4

When aiming like that interacting with the solid block that is placed above is possible.

(The interact bugs only work with 3rd person's back camera. 3rd person's front camera has no interact.)

SmallJoker commented 3 years ago

Duplicate of #2276. Same root cause: missing node samples to calculate the intersection. Proper fix in #9211 which turned out to be kinda slow.

wwar-XeStro commented 3 years ago

Duplicate of #2276. Same root cause: missing node samples to calculate the intersection. Proper fix in #9211 which turned out to be kinda slow.

You didn't mention that we can interact through blocks on #2276, and interacting is worse than only looking through them.. the main reason that made me report this was interacting.. and this one is more detailed.

SmallJoker commented 3 years ago

Right. I did not consider that erroneous interacting is also possible. I'll re-open this issue because it contains a more detailed description and additional error cases.

wwar-XeStro commented 1 month ago

Interaction is no longer possible after adding a cross hair into 3rd person view.