Jump to content

Performing intersection tests using an oriented box


photo

Recommended Posts

Posted

engine.world.getIntersectionObjects() has an overload that searches for intersections inside an axis-aligned box.

Is there a way to perform such an intersection/containership test using an Oriented Box?

 

Thanks,

Ashwin.

Posted

See documentation for details. If axis-aligned box or sphere doesn't fit your needs you might "mis-use" third-option frustum volume for approximation of your oriented box.

Posted

Yes ulf, that's what I thought too...gonna try using an 'ortho' frustum as an Oriented Box :)

×
×
  • Create New...