我正在定义一个圆锥体,需要能够围绕其顶点(即圆锥体厚度最小的点)进行旋转。目前我还没有找到设置旋转发生的点的方法。
var coneGeometry = new THREE.CylinderGeometry(1000, 0, width, 50, 50, false);
var cone = new THREE.Mesh(coneGeometry, material);
cone.position.x = x;
cone.position.y = y + width / 2;
cone.position.z = z;
// I want this rotation to happen around the point given by the (x, y, z) location
cone.rotation.x = dip;
Object3D
方法和Geometry
方法。 - WestLangley