Hi there, i have a seemingly easy question, but i just cannot figure out what i am doing wrong. maybe someone could help me with this.
i want to rotate a vector around an axis (wich is generated from two vectors). i have tried to recreate it in a playground https://playground.babylonjs.com/#LH53HM#2

i just dont even understand what is happening here - shouldnt it rotate around the axis between point1 and point2 (of course setting the angle manually in line 65)?

So what i want to do:
i have a vector A. and i have two other vectors B & C. the line between B&C is the pivot axis, A should be rotated around this Axis.
how do i do that?

Thanks this gave me some clarifications like that your vectors are points(positions) and not rotation-vectors. I think you can just add center position of your rotationAxis as offset:

Fixed PG:

But more elegant would be to use BabylonJS mesh capabilities: