This is more of a TypeScript question I guess.
I want to make a Rotatable or RotatableObject class in TS, such that users can rotate it around a specified axis using swipe or mouse click and drag.
I found this on the old forum:
What would be the best way to approach this - Rotatable extends TransformNode class?
Is there a better way if I want it to be general purpose and modular?