You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Skimming through your code and found something that seemed a bit strange, though I don't understand the structure well enough yet to say its an error for sure. But in the loop around line 3778, I saw this:
a -= colliders.boxes.count;
b -= colliders.boxes.count;
SphereCollider box = colliders.spheres.data[a];
SphereCollider sphere = colliders.spheres.data[b];
I'd imagine it should be sphere in place of box in those lines?
The text was updated successfully, but these errors were encountered:
Thanks! It's not a bug but certainly misleading to name the sphere "box" :) Fixed in bb00cb2
The lines a -= colliders.boxes.count;b -= colliders.boxes.count; are correct. It's just that the colliders are numbered continuously after the broad phase, starting with boxes, and then spheres.
Hey,
Skimming through your code and found something that seemed a bit strange, though I don't understand the structure well enough yet to say its an error for sure. But in the loop around line 3778, I saw this:
I'd imagine it should be sphere in place of box in those lines?
The text was updated successfully, but these errors were encountered: