Maybe this could be inspirationnal with Raycast and testing distance.
https://vimeo.com/39888231
Le 28/09/2012 15:50, Jonathan Laborde a écrit :
Hello,
There are several ways you can do that. Depending on your gemoetry it
can be easy to overly complicated :)
You can check if a point is inside another volume using the "point in
volume" node, and then use a closest location node to find the
distance to the surface.
What I like to do though is to test the distance to the closest
surface (using a get closest location, or a ray cast towards the
normal depending on the cases), and then figure out if the point is on
the right side of the surface or not.
Good luck!
On Fri, Sep 28, 2012 at 9:45 AM, Szabolcs Matefy <szabol...@crytek.com
<mailto:szabol...@crytek.com>> wrote:
Hey guys,
I need a help. Is it possible to create an ICE tree that checks if
a geometry isn’t penetrated by another geometry? I have a low poly
object, I have a high poly object, and I have a cage object (a
clone of the low poly object, but pushed to conform the high poly
object). I need to check, if the high poly object is penetrating
the surface of the cage, and if so, what amount…
If anyone has a solution or idea how to solve this, it’d be really
nice…
Thanks guys,
Szabolcs
___
This message contains confidential information and is intended
only for the individual named. If you are not the named addressee
you should not disseminate, distribute or copy this e-mail. Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system. E-mail
transmission cannot be guaranteed to be secure or error-free as
information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses. The sender
therefore does not accept liability for any errors or omissions in
the contents of this message, which arise as a result of e-mail
transmission. If verification is required please request a
hard-copy version. Crytek GmbH - http://www.crytek.com -
Grüneburgweg 16-18, 60322 Frankfurt - HRB77322 Amtsgericht
Frankfurt a. Main- UST IdentNr.: DE20432461 - Geschaeftsfuehrer:
Avni Yerli, Cevat Yerli, Faruk Yerli