Collision Detection

How to use and manipulate the collision detection features of the plugin

Collision Detection

This explains how to detect if another region is intersecting a UniversalRegion. This can be found in the UniversalRegion's method base.

This method is very efficient and uses an octree to split and lower the query time. Still, this should be ran async like most methods in this api.

UniversalRegion region = // UniversalRegion object;

List<UniversalRegions> intersects = region.getIntersectingRegions(/* Collection of Regions to Check against */);

Last updated