Drag and drop pivot point, Rect Transform
Hi Unity-Com!
I'm pretty new with unity and doing the unity tutorial for a 2D RPG. I stuck at a seemingly easy point, where I have to move the pivot point of a mask per drag and drop, like here from point 4. But for me the whole thing moves and i cant select the blue circle.
Am i missing a shortcut?
I tried to change the "pivot" variables in the inspector, but the hole shape moves, instead of only the blue circle. i also googled for nealry 2 hours (sprites have a option in "sprite renderer" to set the sprite sort point from center to pivot to "unlock" the pivot point, but there is no sprite renderer in the UI-Image) and downloaded probuilder, with no progress.
please help!
@Crycore93 omg, thank you, ive been stuck in this part of the tutorial too. thank you thank you thank you!,@Crycore93 omg, thank you, ive been stuck in this part of the tutorial too. thank you thank you thank you!
Answer by Crycore93 · Aug 16, 2019 at 07:42 PM
I already solved the problem on my own with clicking everywhere until it worked. :)
On the top right side of the Editor, after the Tool-Buttons (Hand Tool, Move Tool,..) there are two Buttons: [Center] and [Local]. Clicked on Center and it changed to Pivot! (Just like the Sprites, but not in the Inspector) from there i was able to move the pivot Point!
Good luck to all others and don't give up!
Cheers. :)
Hi. If you found the answer, don't delete the question, mark it as closed. Thank you.
Your answer
Follow this Question
Related Questions
How to get position/size information of a UI image 0 Answers
Moving UI Image 0 Answers
How to offset a RectTransform? 0 Answers
RectTransform Pivot versus the Blue Dot. 0 Answers
Adjust RectTransform width to image that is scaled down 1 Answer