Uniform scale vector points

let’s say given a pivot position for vertex points, how do I scale these vertex points uniformly around that position
I have tried this

https://www.babylonjs-playground.com/#W4J2HF#1

Do you have any reason not to use the built in pivot methods Parents and Pivots | Babylon.js Documentation

https://www.babylonjs-playground.com/#W4J2HF#2

1 Like

Yeah that is what I finally ended up doing, set an anchor, scaled it, and compute its matrix
https://www.babylonjs-playground.com/#W4J2HF#3