We need to divide plane in two equal parts vertically

We need to divide the plane into two equal parts vertically. Currently, we are using polyhedron shape to divide the plane but we need polyhedron length same as the plane width and polyhedron width should be less than the plane length.

For reference please go to the attached playground link

Expected output

I don’t understand what you want to do. How does the polyhedron shape relate to how you want the plane to be divided?

Simply I just want to place the polyhedron on the plane as shown in the front view in the attached image.

So, as I understand, your issue is how to match the length and width of the polyhedron with the length and width of the plane?

Yes, But the triangle shape should be as thin as possible same as the attached image front view.

If the triangle is as thin as possible, it will become a plane. I’m assuming you don’t want that. Maybe if you can explain a bit more of your scenario, we will be able to help you better.

Sure, I want the triangle shape as same on the front view of the attached image. I need a solid triangle shape placed on the ground OR Plane.
MicrosoftTeams-image (3)

For more information
Same as the link mentioned below in below link there is a solid sphere shape render on ground

Not entirely sure what you require

Literally a triangle as in Babylon.js Playground

or a prism as in https://playground.babylonjs.com/#Y1814V#1

or something else!


Thank you it is definitely a useful example for me https://playground.babylonjs.com/#Y1814V#1.
I have an issue with the closePath Property in Babylon js ExtrudeShape is throwing the error please check the image

closeShape is new from v5.0 if you are using an earlier version of Babylon.js then you need to do as in line 30 of https://playground.babylonjs.com/#Y1814V#2


Hello @Bhavna just checking in, was your question answered?