Create plane mesh with 4 vector3 position values

Hi I’m playing around with this playground: https://www.babylonjs-playground.com/#35HAW1#1
This basically gives the four that represents the face of the cube selected/hovered to.

With this, would you be able to create a plane with this where i could just plus 1 to coordinates but the size would be the same of the face of the cube?

yes for sure, it is relatively easy to create your own mesh with the 4 coordinates:
https://www.babylonjs-playground.com/#VKBJN#940

(it is not a plane as I stole the PG to make an example but you will get my point)

1 Like