0
$\begingroup$

Is there a way to check if a vertex (or for that matter, any location) is inside the closed volume of some object?

$\endgroup$
4
  • $\begingroup$ Use a BVHTree (docs.blender.org/api/2.79/mathutils.bvhtree.html) and get the nearest face(s) from the location. The find nearest functions return location, normal and face index. So from that you can check if the location is inside or out depending on the normal orientation returned. I'm not sure this handles all the possible configurations though. $\endgroup$
    – lemon
    Mar 22 '18 at 10:49
  • $\begingroup$ Related (possible duplicate) $\endgroup$
    – batFINGER
    Mar 22 '18 at 11:03
  • $\begingroup$ If you would like to see inside your objects, you can enable wireframe view by pressing Z. You can also hide some objects in your Outliner to see which object can be overlapping $\endgroup$ Mar 22 '18 at 17:09
  • $\begingroup$ Thanks batFinger, that is exactly what I was asking for! I guess my question can be deleted. $\endgroup$
    – Thore
    Mar 22 '18 at 18:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.