Extrude polygon only works if polygon is defined in xz plane?
https://playground.babylonjs.com/#KDPAQ9#4729
This works.
const outline = [
new BABYLON.Vector3(0, 0, 0),
new BABYLON.Vector3(0.5, 0, 0),
]
outline.push(new BABYLON.Vector3(0, 0, 0.5));
outline.push(new BABYLON.Vector3(0, 0, 0));
This doesn’t?
const outline = [
new BABYLON.Vector3(0, 0, 0),
new BABYLON.Vector3(0.5, 0, 0),
]
outline.push(new BABYLON.Vector3(0, 0.5, 0));
outline.push(new BABYLON.Vector3(0, 0, 0));