I am moving the vertices of a shape on mouse move and this works well. However, when a rotation is applied to the shape, the vertices move along the wrong axis.
Created a codesandbox.io here: https://codesandbox.io/embed/gatsby-starter-default-l16ui
The two files to concern yourself with is index.js in the page directory and shape.js in the components directory.
Move your cursor around the screen and you can see it reacts, however in the wrong direction.
Set radiansY to 0 and the shape will rotate back to its original position. Now try moving your cursor and it should react to the cursor correctly.
UPDATE: I updated the Code Sandbox to convert the added vector from world to local space in shape.js on line 47, but this places all the shapes into one spot now.
const changedPoint = self.worldToLocal(point.clone())