New answers tagged intersection
As it is said, you should make one post per question. You can use a circle collider instead of a rectangle collider. Set the circle radius by experimentation. You can also implement a combination of both, if you care about extreme precision, but a circle should be enough for your purposes.
One major advantage is that many collision detection operations are more efficient when performed at the origin. A classic example is box vs sphere. When done in a box's local space the tests are very simple axis aligned distance point-plane tests instead of the more costly non-axis aligned planes. Furthermore objects moving through space may not actually ...
Top 50 recent answers are included