I'm trying to imagine the consequences of having the wrong density for an avatar. The most common physics application that I'm aware of for avatars are flight assists, which may be less common in OpenSim as there is no flight ceiling. Another application may be push type teleporting systems. Applications which require accurate physics usually use the results of llGetMass() as a term for any calculations which could lessen the need for accurate default density.<div>
<br></div><div>It is a problem that many of the values for physics are empirically derived, and that there are so many variations across implementations, such as the differences between 32 and 64 bit systems and between different 64 bit systems. This suggests that any deviation from the established values may need to be a configuration option (if they aren't already), and that some experiments may need to be designed and carried out to determine optimum values. Perhaps, if all of the important values would be user-configurable, a procedure could be developed for calibrating the physics engine for any given installation?</div>
<div><br><br><div class="gmail_quote">On Sun, Mar 22, 2009 at 3:03 PM, Charles Krinke <span dir="ltr"><<a href="mailto:cfk@pacbell.net">cfk@pacbell.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div style="font-family:arial,helvetica,sans-serif;font-size:12pt"><div>We have m_density defined in two different places with two different values.<br><br>One is in: ...\OpenSim\Region\Physics\OdePlugin\ODECharacter.cs - (72, 22) : <br>
<br>public float m_density = 60f;<br><br>Another is in:   ...\OpenSim\Region\Physics\OdePlugin\ODEPrim.cs(152):       <br><br> private float m_density = 10.000006836f; // Aluminum g/cm3;<br><br>And
in looking at the usage to calculate mass, it looks like the math is
right, but yet, the avatar seems to have a higher density then the
prim. <br><br>I know that these are empirically determined, but in
trying to look forward to a world where we actually might use the
density of metal, rubber, glass, rock, plywood to do some additional
physics *stuff*, it seems that we might want to see if we can harmonize
our notion of density a little bit.<br><br>Perhaps I am just <span style="background:transparent none repeat scroll 0% 0%">missing the boat</span> here. But, I would like to understand how we might be able to move forward a little bit on density some time.<br>
<font color="#888888"><br>Charles</font></div></div></div><br>_______________________________________________<br>
Opensim-dev mailing list<br>
<a href="mailto:Opensim-dev@lists.berlios.de">Opensim-dev@lists.berlios.de</a><br>
<a href="https://lists.berlios.de/mailman/listinfo/opensim-dev" target="_blank">https://lists.berlios.de/mailman/listinfo/opensim-dev</a><br>
<br></blockquote></div><br></div>