mojira.dev
MCPE-186053

Tri-Meshs don't work in poly_mesh

When using polys: "tri_mesh" or having an array size of 3 it will continue to render as a quad rather than a triangle using the next vertex possible and if only a single triangle is present it won't render at all.

Below I attached a intended result in block bench an in game image and the geo used to render it in. To make it more see able I put the further point first in the array making it a square

Edit: Add The full pack from with a texture and geometry change
https://mcpedl.com/poly-mesh-models-in-minecraft-bedrock-example-addon/

Attachments

Comments 6

[media][media][media][media]

Can confirm, affects 1.21.51.

Steps to reproduce:

  1. Load the attached addon.

  2. Give yourself the poly_spawn_egg via the /give command.

  3. Summon the mob.

Observed results:
The custom entity will use a quad poly rather than the tri-mesh one it's been assigned.

Expected results:
It should be possible to have a custom model using a tri-mesh poly.

Shadowkitten47

(Unassigned)

1422327

Confirmed

Multiple

1.21.21 Hotfix, 1.21.30, 1.21.51 Hotfix

Retrieved