G33X Nexus Entertainment > Bug Reports
Angular Collision causes astroids to orbit ( 0.3.4 build 967 )
Morgul:
Well as I told you, the center of mass is like 5 meters outside the asteroid.
And, Cae, I'd need to find a plugin for blender that calculates the center of mass.
Caenus:
You find the formula for the asteroid's volume and surface area, and I'll give you the differential equation that calculates centroid of mass.
Morgul:
Dude, there isn't one. At least I don't see how... they're pretty arbitrary shapes. I'd need one that I could plug into blender, and get it to figure it out from the mesh data....
whitelynx:
Actually, I do believe there is an algorithm out there for finding the centroid of a closed polygonal mesh. As long as it's closed, there shouldn't be a huge issue... surface area is calculated by adding the area of each poly, and volume should also be able to be calculated somehow... although I'm not entirely sure how.
whitelynx:
Sorry for the double-post... a good place to start looking for such algorithms would be in the FlipCode archives: http://www.flipcode.com/articles/index.shtml
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version