rfdiazpr / sketchyphysics

Automatically exported from code.google.com/p/sketchyphysics
1 stars 0 forks source link

Buoyancy: How to control Center of Gravity position in objects ? #88

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Can you add a control to manualy locate Center of Gravity for objects, 
setting X, Y and Z coordinates in LOCAL mode (referred to the "origin" point of 
the object itself) ?.
2. This (simple?) issue would be REALLY helpfull on Buoyancy Simulation of 
complex objects. (and I mean REALLY helpfull!)
3.

What is the expected output? What do you see instead?
Allowing this function, you will be able to control CG position to where it 
will be in reality, depending on object's shape and thikness.
Actually, Sketchyphysics 3 calculates CG just as the center of mass of the 
object (just as if all objects where solid). When simulating hollowed hulls 
(thik surfaces), the actual metod isn't enought accurate.

What version of the product are you using? On what operating system?
version 3
Windows XP, Vista, W7

Please provide any additional information below.
Here an example: Objects are grouped into one set, but each one has his own CG, 
Density and Volume.
http://www.youtube.com/watch?v=aFTQByZ4cx0

Original issue reported on code.google.com by klzsail...@gmail.com on 21 Sep 2011 at 7:20