Rotation of Object around it's centre of mass

Click For Summary

Discussion Overview

The discussion revolves around the methods for rotating an object around its center of mass rather than the origin of Cartesian coordinates. Participants explore various approaches, including mathematical formulations and computational efficiency, within the context of programming and performance considerations.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant inquires about rotating an object around its center of mass without translating it to the origin.
  • Another participant suggests a method involving translating the object to the origin, rotating it, and then translating it back, but acknowledges potential performance issues.
  • A concern is raised regarding the computational cost of the suggested method, with a preference for a more efficient approach that minimizes calculations.
  • A participant mentions a formula for rotation that involves specific trigonometric transformations, indicating a desire for clarity on its application without using matrices.
  • There is a request for elaboration on the computational steps involved in the proposed method, specifically regarding the number of multiplications and additions required.

Areas of Agreement / Disagreement

Participants express differing views on the best approach to achieve rotation around the center of mass, with no consensus reached on a single method. There is ongoing discussion about the efficiency and complexity of various techniques.

Contextual Notes

Participants have not fully resolved the implications of using different mathematical approaches, and there are references to computational efficiency that remain unexamined in detail.

mahi.aw
Messages
4
Reaction score
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..
 
Physics news on Phys.org
1. translate the object so its center of mass is at the origin
2. rotate it.
3. translate it back.
 
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??
 
mahi.aw said:
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.
 
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?
 
Then I think you need the complete formula (this is not the homework section, btw), then you can elaborate it.

[tex] \left\{\begin{matrix}<br /> {x}'= (x-x_M)cos \alpha - (y-y_M)sin \alpha+x_M<br /> \\ <br /> {y}'= (y-y_M)cos \alpha + (x-x_M)sin \alpha+y_M<br /> <br /> \end{matrix}\right.[/tex]
 
i know that...but i asked just b/c am not using any matrices in calculation..

thanks & regards
 

Similar threads

  • · Replies 141 ·
5
Replies
141
Views
8K
  • · Replies 67 ·
3
Replies
67
Views
5K
  • · Replies 10 ·
Replies
10
Views
1K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 47 ·
2
Replies
47
Views
5K
  • · Replies 10 ·
Replies
10
Views
4K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
5
Views
3K
  • · Replies 70 ·
3
Replies
70
Views
9K