Point contained in geometry(not bounding)


is there a way to check if vector is contained in geometry? (not box/sphere bounding).

Well… You could use an unshaded small sphere and check if it collides with your geometry.


CollisionResults cr = new CollisionResults();

yourGeometry.collideWith(objectToCheckCollisionWith, cr);

// … iterate the collision results for anything…


That’s off the top of my head, but something similar to this should technically work.

yes, i was thinking about this way, but i had hope about easier way :slight_smile: