playMaker

Author Topic: Rect Transform Pivot  (Read 914 times)

Flamehead

  • Playmaker Newbie
  • *
  • Posts: 7
Rect Transform Pivot
« on: December 29, 2022, 08:32:11 PM »
Hi,

Does anyone know how to change the Rect Transform Pivot without moving the image?

I need the pivot in the bottom left corner for scaling but for rotation I want it to rotate in the center. So I assume I need to have the pivot in one spot for scaling and then change it to the center when I want to rotate. However, when you change the pivot the object moves.

Thanks.

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7618
    • jinxtergames
Re: Rect Transform Pivot
« Reply #1 on: December 30, 2022, 04:23:12 AM »
Hi.
Use a empty parent then use parent for rotating (or scaling depending on the effect you want) and Child with the image for scaling (or rotating )

Flamehead

  • Playmaker Newbie
  • *
  • Posts: 7
Re: Rect Transform Pivot
« Reply #2 on: December 30, 2022, 11:28:38 AM »
Beautiful, thank you!