i'm trying to do something like trigger in unity, with only cubes(not axis-aligned). So, I wanna algorithm, where I can get a Boolean with "intersected or not" :
public bool intersect(Vector3[] cube1,Vector3 cube2){
if(not)
return false;
return true;
}
Thanks for your questions!