Point contained in geometry(not bounding)

hello,



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.



[java]

CollisionResults cr = new CollisionResults();

yourGeometry.collideWith(objectToCheckCollisionWith, cr);

// … iterate the collision results for anything…

[/java]



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: