Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I test if two AABoxes intersect while moving?

intersect moving Test
0
0 Posted

How do I test if two AABoxes intersect while moving?

0
0

We can use the intersect function to compute this. We need a vector for each AABox representing the box’s movement over the timestep. You also pass by reference 2 floating point numbers that will be modified by the function. The first of these numbers will be the normalized time of contact. The second is the normalized time of disconnection. The second number will only be set when the boxes pass through each other, in which case it will be set to the time when they stop intersecting.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123