Local coordinate system on front face of box

Hi,

I would like to be able to draw some Curve3s on the front plane of a box.

What’s the best way to set up a local coorindate system on the middle of the front face?

Thanks!

Quick look at doing this.

https://www.babylonjs-playground.com/#YET4LX#4

Maybe I could use a faceUV Vec4 instead.

1 Like

Is this of use - a curve3 on the front of a box, https://www.babylonjs-playground.com/#YET4LX#5

or without axes showing https://www.babylonjs-playground.com/#YET4LX#6

3 Likes

Thanks @JohnK