I want to rotate an object in my scene around itself but it rotate around cercle ,it’s center was the initial position

any idea?


The order that you execute transformations on a given matrix will affect the outcome of those operations. If you want to rotate an object around it’s centre, you should rotate it first then translate. If you translate first, the rotation will factor in the translation that has already been applied to the matrix.