Skip to main content
Question

How to find the centre of a rotated vector node


mohan_vadivel

Is there is any way to find the centre point of a vector node, which is rotated at any arbitrary degree.

For non rotated vector shape, the centre can easily obtained by
centre = [x+width/2, y+height/2]

When the shape gets rotated the width and height values doesn’t changes, but the value of x and y.

0 replies

Be the first to reply!

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings