<div dir="ltr">Hello,<div>Setting llSitTarget does make the NPC to behave as I initially expected ... it sits on prim immediately. Now I miss the walk to the seat ... guess could be fixed easily by triggering only after it is a minimum distance away from target.</div>

</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, May 1, 2013 at 7:44 AM, Dr Ramesh Ramloll <span dir="ltr"><<a href="mailto:r.ramloll@gmail.com" target="_blank">r.ramloll@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I haven't used llSitTarget on chairs .. I was testing with prims, may be I should try that.<div>Yes graph traversal is a great approach. I was trying to find a way where NPCs learn from avatar navigation and use common navigation avatar 'sentier battus' as paths, as guides to use another term</div>


</div><div class="gmail_extra"><div><div class="h5"><br><br><div class="gmail_quote">On Wed, May 1, 2013 at 6:32 AM, Jeff Kelley <span dir="ltr"><<a href="mailto:opensim@pescadoo.net" target="_blank">opensim@pescadoo.net</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>At 8:24 AM -0400 4/30/13, Dr Ramesh Ramloll wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
The approach is trivial but looks entertaining when implemented. Avoid walls thru<br>
simple collision detecting when avatars (human driven) are absent ... and use<br>
position of avatars (human driven) as guides, and break out to target when<br>
target is withing range.<br>
</blockquote>
<br></div>
Although NPCs can drift on convex obstacles, the are trapped inside a concave one. I use waypoints prims and a graph of connected nodes. Pathfinding becomes a graph walk, which is a well known problem.<br>
<br>
<br>
Did you SitTarget your chairs?<span><font color="#888888"><br>
<br>
<br>
-- Jeff</font></span><div><div><br>
______________________________<u></u>_________________<br>
Opensim-users mailing list<br>
<a href="mailto:Opensim-users@lists.berlios.de" target="_blank">Opensim-users@lists.berlios.de</a><br>
<a href="https://lists.berlios.de/mailman/listinfo/opensim-users" target="_blank">https://lists.berlios.de/<u></u>mailman/listinfo/opensim-users</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div></div></div><div class="im">-- <br><font color="#999999">'Consider how the lilies grow. They do not labor or spin.'</font><br><b>Rameshsharma Ramloll</b> PhD, CEO CTO DeepSemaphore LLC, Affiliate <i>Research Associate Professor</i>, Idaho State University, Pocatello, ID 83209 Tel: <a href="tel:208-240-0040" value="+12082400040" target="_blank">208-240-0040</a><br>


<div><a href="http://deepsemaphore.posterous.com/" target="_blank">Blog</a>, <a href="http://www.linkedin.com/in/rameshramloll" target="_blank">LinkedIn</a>, <a href="http://www.deepsemaphore.com" target="_blank">DeepSemaphore LLC</a>, <a href="https://plus.google.com/103652369558830540272/about" target="_blank">Google+ profile</a></div>



</div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><font color="#999999">'Consider how the lilies grow. They do not labor or spin.'</font><br><b>Rameshsharma Ramloll</b> PhD, CEO CTO DeepSemaphore LLC, Affiliate <i>Research Associate Professor</i>, Idaho State University, Pocatello, ID 83209 Tel: 208-240-0040<br>

<div><a href="http://deepsemaphore.posterous.com/" target="_blank">Blog</a>, <a href="http://www.linkedin.com/in/rameshramloll" target="_blank">LinkedIn</a>, <a href="http://www.deepsemaphore.com" target="_blank">DeepSemaphore LLC</a>, <a href="https://plus.google.com/103652369558830540272/about" target="_blank">Google+ profile</a></div>


</div>