23-05-2019, 05:35 PM
(23-05-2019, 03:39 PM)josemendez Wrote: Hi there,
Thanks for contacting us! First off, Obi is not crashing in your video, just running really slow. This is because your bucket is using a raw MeshCollider. Ours is using distance fields, which are *much* more efficient .This has nothing to do with the model or mesh itself. Distance fields are explained in the following manual page:
http://obi.virtualmethodstudio.com/tutor...ields.html
When colliding against a MeshCollider, each particle has to find the triangles closest to it in the mesh, then generate contacts for each individual triangle. This adds up to an enormous amount of work. However, distance fields are like a look-up table: each particle simply asks the field for the closest point in the mesh, and the field returns a single contact point for that particle. This is much more efficient.
In general, distance fields should be preferred to vanilla MeshColliders.
cheers,
Thank you for your fast feedback. But, still I have some questions about that component.
As document tutorial you linked for me, I tried to make distance_field by Obi_distance field. But, when I import beaker's mesh. It doesn't respond. When I push the button 'Generate', It just ended like for 1 ns and dispaly as [Nodes: 1, Size in memory: 0.1 kB, Compressed to: 100%] and, I can't see any model that should be display under Inspector. Is there anything i should know more about distance field? If it does, can you give more links to me?
Really thank you again for this great help.