Rotation

This topic contains 1 reply, has 2 voices, and was last updated by  Joe Davis 3 years, 7 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #31678

    aicha11
    Member

    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?

    #38649

    Joe Davis
    Member

    Hi,

    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.

    Regards,
    Joe

Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.