Sample of simple pivot

Could someone expain how to make simple pivot without moving model in axes?
Why model jumping to the left after set pivot point?

In my project i want to switch rotation center multiple times without extra model move. Goal is to move unit of soldiers arrount unit corner, but unit should be able to make right pivot after left and go in.

Long time ago i programed simple animations in OpenGL. In that lib, I just set pint arround witch model wos rotating. How to do the same in babylon?

Hi @EmpGeX and welcome to the forum.

Reset pivot with-out moving mesh Pivot will reset after 2sec.

Pivot Doc: Set and Use a Pivot - Babylon.js Documentation
More pivot examples: Babylon.js Documentation