New answers tagged collision-detection
0
votes
How to speed up collision detection if there are hundreds of objects?
First, don't use trig to calculate distances between objects / points. If you have two positions A and B, you can get the distance between them as:
...
14
votes
Accepted
Why are collision manifold points created inside objects instead of on their surfaces?
When the physics solver has successfully caught the objects at the moment of contact, the point \$m\$ is on the surface, as desired.
When the physics solver has not caught the objects at the moment of ...
3
votes
Accepted
OnTriggerEnter called without a Rigidbody
As shown in the scripting API docs, CharacterController inherits from Collider, so the controller component itself can generate ...
3
votes
Accepted
How do collision meshes work in games like Zelda on the N64?
In addition to James's answer, I wanted to cover multiple N64 games and give actual source code references. At the time I'm writing this, most big N64 titles have been decompiled with source code ...
Top 50 recent answers are included
Related Tags
collision-detection × 2493unity × 532
physics × 372
2d × 371
c# × 333
collision-resolution × 230
java × 228
xna × 191
c++ × 181
libgdx × 106
3d × 102
mathematics × 96
javascript × 96
aabb × 78
pygame × 68
platformer × 67
raycasting × 65
tiles × 63
separating-axis-theorem × 62
android × 60
python × 60
optimization × 60
opengl × 59
box2d × 59
rigidbody × 57