Rotation of Object around it's centre of mass

  • Thread starter mahi.aw
  • Start date
  • #1
4
0
Hi all I am new here!!

can anyone tell me how can i rotate the object around it's center of mass and not the origin of Cartesian co-ordinates(0,0)..

thanks in advance for help..
 

Answers and Replies

  • #2
2,055
319
1. translate the object so its center of mass is at the origin
2. rotate it.
3. translate it back.
 
  • #3
4
0
Hi willem thanks for your prompt reply..

It's sounds good...

But if i do like this way i think i need to do more and more calculations,,which ultimately leads to reduce performance of my program..

is there way to rotate it without translating the object center of mass to it's origin??
 
  • #4
558
1
Hi willem thanks for your prompt reply..

It's sounds good...

But if i do like this way i think i need to do more and more calculations,,which ultimately leads to reduce performance of my program..

is there way to rotate it without translating the object center of mass to it's origin??

The method it's been suggested is very quick for a computer as it implies something like only 4 multiplications and 6 additions.

Any other method leads certainly to more complex equations.
 
  • #5
4
0
Hi Quinzio,

Thanks for your reply..
But i did not get the idea of 4 multiplications and 4 additions??
could you please elaborate on it?
 
  • #6
558
1
Then I think you need the complete formula (this is not the homework section, btw), then you can elaborate it.

[tex]
\left\{\begin{matrix}
{x}'= (x-x_M)cos \alpha - (y-y_M)sin \alpha+x_M
\\
{y}'= (y-y_M)cos \alpha + (x-x_M)sin \alpha+y_M

\end{matrix}\right.
[/tex]
 
  • #7
4
0
i know that...but i asked just b/c am not using any matrices in calculation..

thanks & regards
 

Related Threads on Rotation of Object around it's centre of mass

Replies
27
Views
7K
  • Last Post
Replies
6
Views
3K
Replies
7
Views
3K
Replies
127
Views
4K
Replies
53
Views
2K
E
  • Last Post
Replies
3
Views
869
Replies
8
Views
2K
Replies
46
Views
1K
  • Last Post
Replies
4
Views
1K
Replies
7
Views
3K
Top