Hi
I have been looking at
and
They both take
??Is there any way that I can get the Vector3 from a Disc so that I can submit it as the shape
Thanks for taking a look at this
Hi
I have been looking at
and
They both take
??Is there any way that I can get the Vector3 from a Disc so that I can submit it as the shape
Thanks for taking a look at this
I think you’re asking about the contour shapes used by the ExtrusionXXX functions. If so, then look at the section on Drawing curves, Drawing Curves | Babylon.js Documentation.
Specifically, if you just want a circular contour to extrude then you can hand generate it, or use, say, the ArcThru3Points function:
var arc = BABYLON.Curve3.ArcThru3Points(first, second, third,20,true, true)
where
var first = new BABYLON.Vector3(1,0,0);
var second = new BABYLON.Vector3(0,1,0);
var third = new BABYLON.Vector3(-1,0,0);
Then, pass arc.getPoints() to the extrusion function
Hello @Quellist just checking in if you need any more help with this?