Thanks everyone that helped me on this.
Once I realized r = force-center_of_mass everything fit into place and all the equations finally made sense.
I now have an excellent system whereby the objects rotate (and transform) based entirely on where forces hit it, as it should be.
Thanks...
I always steered away from using the cross product as I'm working in 2d at the moment, but I will work on what I have soon and report on my progress. (i'm in work atm :))
Thanks for you help.
Thank you for your help.
When referring to the r and F vectors, I understand that you mean the vectors of the radius (from the center of mass to the point of collision) and Force.
However, I'm unsure what qualifies as "r" and "F" in my code.
My failure of understanding is not in the...
Thanks for the reply. The equation:
rFsin0
is definitely what I needed.
Now I'm having a bit of an issue with the vectors involved with calculating theta.
In my app, all vectors are defined in component form.
Say I have my rectangular object at (its center of mass, that is):
position.x...
Greets all, I'm attempting to build a small physics engine that manages linear and angular forces. Please bear with me while I explain the problem I'm having.
Linear forces so far have not been an issue at all, however rotational forces are rather confusing.
I'm using Chris Hecker's rigid...