<div dir="ltr">Hi Sebastian,<div><br></div><div>it is for simulation, i have a moving entity and a terrain (with buildings etc). Now I am not after triangle level intersection, but after Entity BBox collision with the terrain (enough is true false). I was thinking to do it really very simple by having LOS rays from the entity center to the corners of the BBox. The entity can move in any direction</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 13, 2017 at 9:41 PM, Sebastian Messerschmidt <span dir="ltr"><<a href="mailto:sebastian.messerschmidt@gmx.de" target="_blank">sebastian.messerschmidt@gmx.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
Hi Nick, <br>
<br>
basically this is not an easy task. What exactly do you expect as a
collision result? <br>
I've implemented a triangle-box collision with MTD (minimal
transform distance = vector describing how to push the box to get it
exactly away from the colliding triangle). OSG has all the math
facilities to do this, but I guess you'll save a lot of headache
using pyhsics etc. for dynamics. So maybe try to explain the problem
you're trying to solve a bit more in detail.<br>
<br>
Cheers<br>
Sebastian <br>
<br>
<blockquote type="cite"><div><div class="h5">
<div dir="ltr">no one on this?</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Sun, Mar 12, 2017 at 9:53 PM, Trajce
Nikolov NICK <span dir="ltr"><<a href="mailto:trajce.nikolov.nick@gmail.com" target="_blank">trajce.nikolov.nick@gmail.com</a><wbr>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hi community,
<div><br>
</div>
<div>what would be the best way to implement bbox
collision with terrain, from what is already in OSG (no
bullet etc)?</div>
<div><br>
</div>
<div>thanks a bunch as always,</div>
<div>Nick<span class="m_-8501960398334193507HOEnZb"><font color="#888888"><br clear="all">
<div><br>
</div>
-- <br>
<div class="m_-8501960398334193507m_-3205147009089399253gmail_signature" data-smartmail="gmail_signature">trajce nikolov
nick<br>
</div>
</font></span></div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div class="m_-8501960398334193507gmail_signature" data-smartmail="gmail_signature">trajce
nikolov nick<br>
</div>
</div>
<br>
<fieldset class="m_-8501960398334193507mimeAttachmentHeader"></fieldset>
<br>
</div></div><pre>______________________________<wbr>_________________
osg-users mailing list
<a class="m_-8501960398334193507moz-txt-link-abbreviated" href="mailto:osg-users@lists.openscenegraph.org" target="_blank">osg-users@lists.<wbr>openscenegraph.org</a>
<a class="m_-8501960398334193507moz-txt-link-freetext" href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" target="_blank">http://lists.openscenegraph.<wbr>org/listinfo.cgi/osg-users-<wbr>openscenegraph.org</a>
</pre>
</blockquote>
<br>
</div>
<br>______________________________<wbr>_________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.<wbr>openscenegraph.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.<wbr>org/listinfo.cgi/osg-users-<wbr>openscenegraph.org</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">trajce nikolov nick<br></div>
</div>