I use the axis helper but I need to have the object not tì in the middle of the space so I moved it having both sides on X and Z sides as in the picture
Now I would like to drag the camera around the new object center and not around the axis center.
I think the best solution is using translateOnAxis
Which requires the normal and distance parameters… hmm I would like just to move the plane a on X and b on Z
if (planeSetting.open && planeSetting.helper) {
var helpers = new THREE.Group();
helpers.add(new THREE.PlaneHelper(clipPlanes[0], 3, 0xff0000));
helpers.visible = true;
helpers.translateOnAxis(new THREE.Vector3(??, ??, ??),??)
this.scene.add(helpers);
}
How I could move the pivot to X=a, Y=0 and Z=b?
note More info about my plane are in another post