Three.js - ExtrudeGeometry using depth and a direction vector
问题 I want to extrude a shape and create an ExtrudeGeometry , but the shape has to be extruded into a certain direction. I have a direction in a Vector3 The shape is drawn in in the x, y plane and normally the z is the extrude direction (extrusion depth). So a direction vector (0,0,1) would result in the default extrusion. But for example a (0,0,-1) would extrude the shape in the other direction. I first tried to use an extrude path to achieve this, but when using a path the shape is allowed to