How can I attach Math Plane to an Object3D?

I have a movable box. I want to attach the clipping planes to it so that whenever I move it the clipping planes move with it.

Is that possible? If not, what is the best way to do so ?

It’s not possible to do this attachment since instances of THREE.Plane are no 3D objects but pure mathematical representations.

That means you have to transform the planes in 3D space by yourself.

Can anyone point me in the right direction on how to achieve plane transformation?

I have the same problem, I want planes to move around with the groups they are “attached” to.

Look at the code for this example

> stencil clipping planes

You’ll see that the origins for the math planes are set in the code.

You could have those coords be variables that change according to the corresponding coordinates of your object you want them to follow.