<div dir="ltr">In case there is a mesh with no high resolution mesh for physics and currently the simulator uses the mesh from the visual part, will that break this mesh in future versions?</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 16, 2015 at 5:30 PM, AJLDuarte <span dir="ltr"><<a href="mailto:ajlduarte@sapo.pt" target="_blank">ajlduarte@sapo.pt</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
        A single mesh asset does contain several meshs internally.<br>
        - Some are for the visual representation of the object, you can have<br>
four corresponding to different levels of detail (LOD), used according to<br>
the view distance. You must provide the one with most detail. You can let<br>
viewer create the others, or provide your own.<br>
        - others are for the physics representation of the object, mainly<br>
for collisions.<br>
<br>
Considering physics.<br>
Viewers will always create a very low detail convex (i.e. without holes etc<br>
) hull.<br>
You select a higher resolution mesh for collisions, if you like people to<br>
get inside your houses for example.<br>
You can provide one or select one of the visual LODS.<br>
That mesh can be encoded as normal mesh or as a decomposition of it in<br>
convex hulls. Some viewers don't support this last option for opensim, in<br>
fact some physics engines don't like it much, so use the mesh for now.<br>
<br>
In world you can use Physics Shape type for more control.<br>
        - type None, the physics mesh are ignored, the object will not<br>
collide with anything, its like phantom.<br>
        - type Prim, the high resolution physics mesh will be used. If none<br>
was uploaded, this type is not available.<br>
        - type Convex. The default simple convex hull is used.<br>
On mesh upload the type is set to convex. You need to change it.<br>
Linkset root (or individual) prims cannot have type none (set them phantom).<br>
<br>
Viewers now allow you to not choose any mesh for physics.<br>
In this case the prim will collide only with the simple low resolution<br>
convex hull with the type selected as Convex or will not collide if is a<br>
child prim with type selected as None.<br>
<br>
This is the expected behavior, and will be in future opensim versions.<br>
This is the behavior with physics engine ubOde and ubMeshmerizer.<br>
<br>
In current versions, using other physics engine and Meshmerizer, if you do<br>
not provide a high resolution mesh for physics, incorrectly the simulator<br>
will use a mesh from the visual part.<br>
Your creation will seem to work, but you will have issues changing the<br>
physics shape type, and the viewers option to display the physics shape will<br>
not work correctly. We can see several meshs like this in world now.<br>
<br>
For this reason this use of visual part of the mesh for physics will be<br>
removed in future versions.<br>
<br>
Please check if you creations where uploaded correctly.<br>
If you want high resolution collisions, make sure the type PRIM is available<br>
to select in world. (if you only want the simple convex or no collision,<br>
then its ok).<br>
<br>
If a new upload is no longer possible, the object can still be fixed,<br>
setting the mesh to type none, and adding to the linkset invisible prims<br>
(simple boxes are the best option) to do the missing collisions.<br>
You can (should?) do this alse in case a object was uploaded with a<br>
excessive large mesh for physics. Specially if using on vehicles..<br>
<br>
Regards,<br>
Ubit<br>
<br>
<br>
<br>
_______________________________________________<br>
Opensim-users mailing list<br>
<a href="mailto:Opensim-users@opensimulator.org">Opensim-users@opensimulator.org</a><br>
<a href="http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users" target="_blank" rel="noreferrer">http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users</a><br>
</blockquote></div><br></div>