2008年2月9日土曜日

SketchyPhysics2. Buoyancy

昨日はこれ試していました
a propeller or a water wheel will not workと有りますが
水面に物が落ちたとき反発があるので、工夫をすれば
推進装置できそうな気がします。


Buoyancy isn't water exactly but it allows objects to float. It is unlike water in that it has no waves and cannot "flow". Also machines like a propeller or a water wheel will not work.

The buoyancy plane is infinite but it can be moved and even rotated. The new version will expose a easier way to create the plane and expose a few attributes like current direction and viscosity.

To create a buoyancy plane type "makeWaterPlane" into the ruby console.
NOTE: Its harder to create a model that floats right.
-Objects that are too small (<1ft) move like they are in a thick fluid.
-For best results you need to change the "Physics Settings" values. The defaults don't usually look right. Changing object density, gravity and scale can make a big difference.
-Compound objects(groups of shapes) will just sink like a stone. Instead you need to connect all of the individual shapes to a single joint. Create a single slider joint that has min=0.0 and max=0.001 and attach all the shapes to that. That will act like a compound object but will float more realistically. Look at the examples.

0 件のコメント: