How can I transform the polyhedron mesh

I render the polygon object using polyhedron mesh and want to change the height of it.
But I can’t transform this objects.

The scaling wouldn’t work very well because the object is statically rotated.

Polyhedra Examples | Babylon.js Playground (babylonjs.com)

Rotating the mesh first, then scaling up will not work either. So you need to create your own polyhedron mesh with correct positioned corner points.

Here is an online tool to create your mesh and export the geometry data.
PD: Polyhedron Generator (drajmarsh.bitbucket.io)

4 Likes