Previous topicNext topic

translate/rotate with one fixed point not in the middle

Questions, comments, feedback, etc.
Post Reply
friday3000
Posts: 16
Joined: Sun Mar 06, 2022 8:40 pm

translate/rotate with one fixed point not in the middle

Post 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 4309 times
Sadler
Posts: 1139
Joined: Sat Aug 02, 2014 7:10 pm
Location: London, UK

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

Post 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.
friday3000
Posts: 16
Joined: Sun Mar 06, 2022 8:40 pm

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

Post 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.
Post Reply