You can use IWorldInstance.setMeshPoint(col, row, opts) to set mesh point position. But what if I want get the point position?
I want do something like this:
PSEUDOCODE:
function lerpMeshPointPosition(instance, t, { col, row, newX, newY } = {}) {
const startX = instance.getMeshPoint(col, row, "absolute").x;
const startY = instance.getMeshPoint(col, row, "absolute").y;
const lerpedX = lerp(startX, newX, t);
const lerpedY = lerp(startY, newY , t);
instance.setMeshPoint(col, row, {mode: "absolute", x: lerpedX , y: lerpedY });
}