Page 1 of 1

translate/rotate with one fixed point not in the middle

Posted: Mon Oct 31, 2022 7:05 pm
by friday3000
Hi there

I am not sure if my question is stupid, but at the moment I have not found the solution by my self. I want to move a "polygon line" like a clock hand. one end is fixed, the other should be moved/rotated. Thanks for your help in advance.
question 1 move with one fixed point
question 1 move with one fixed point
magicvisual_question.png (14.15 KiB) Viewed 5144 times

Re: translate/rotate with one fixed point not in the middle

Posted: Tue Nov 01, 2022 7:31 am
by Sadler
Absolutely not a stupid question. Use the translate node to move your 'pivot' point to the centre of your window then apply a rotation. You can then move your element again to where you need it. Looking at the DancingRobot example project which demonstrates this.

Re: translate/rotate with one fixed point not in the middle

Posted: Fri Nov 04, 2022 4:40 pm
by friday3000
Sadler wrote:Absolutely not a stupid question. Use the translate node to move your 'pivot' point to the centre of your window then apply a rotation. You can then move your element again to where you need it. Looking at the DancingRobot example project which demonstrates this.
Hi Sadler

Thank you for the response, will test it during the weekend.