All Questions
Tagged with collision-resolution mathematics
18 questions
0
votes
0
answers
87
views
Collision of two rigid spheres with spin
I'm trying to create a particle simulation (solar system kind). Until now my particles have no spin so the collision is rather simple
...
0
votes
1
answer
129
views
How to calculate angular momentum of two colliding bodies about their shared center of mass in 2D?
I'm following this guide to implementing collisions in 2D physics.
It shows this diagram, but I don't understand how to calculate the values of Da and ...
3
votes
1
answer
195
views
Is there a generic formula to determine the angle of deflection off of a rectangle?
I have a perfect 2D system, with no friction, elasticity, etc. A ball is colliding with a rectangle. I know the angle of the motion of the ball in degrees. I want to figure out how said angle will ...
-1
votes
1
answer
615
views
javascript top down circle to circle smooth collision detection
I've been looking through a lot of answers here:
Resolving Circle-Circle collision
Circle to Circle collision, checking each circle against all others
Nestling into contact with a group of physics ...
0
votes
0
answers
240
views
How do I respond to AABB collisions?
I'm coding a physics engine in Javascript. Forces, Gravity, Friction, AABBs are taken care of. Now, the big question: how do I respond to AABB collisions? Right now, when an object collides, it prints ...
0
votes
1
answer
165
views
Speed after an angled collision?
I can calculate the speed when there is no angle, but I can't calculate the speed when it is angle.
Physics paramaters:
...
1
vote
0
answers
714
views
3D Coulomb Friction - Use Collision Impulse To Calculate Friction Force?
I've been using this document to learn how to implement a very basic physics engine. The section on Coulomb Friction on page 55-56 (marked as pages 43-44) confuses me.
It observes that the friction ...
1
vote
1
answer
394
views
How to get a translation vector in a certain direction? SAT
I'm using the seperating axis thereom for discrete collision detection. I have code to find the minnimum translation vector (or distance) to seperate two shapes but how can I adjust it to get a vector ...
1
vote
1
answer
178
views
3d complex collision and trigger detection [closed]
I'm a Unity developer and I use monobehavior functions to dot things like collision detection.
I have read about articles about collision detection. Most of them work with geometrical structures like ...
2
votes
1
answer
1k
views
How does matrix based game physics (collision detection & response) work?
I'm familiar with how to do collision detection and response using shape intersection tests, the separating axis theorem, and by using MPR and GJK with minkowski sums and support vector defined shapes....
3
votes
2
answers
2k
views
Circle-Circle collision resolution
This seems easy but I can't figure it out, when I have one circle(c1) collide with another(c2) I give the c2 circle the heading of c1 and send the c1 circle on the normal vector to the heading (the ...
1
vote
1
answer
123
views
How to implement this collision detection function?
I would like to know how to implement this collision detection function, but I'm not even sure what it's called.
The input shapes are 2D convex polygons, with an optional "rounding radius": imagine ...
1
vote
0
answers
73
views
Calculating Friction due to rotation from ball bounce? [duplicate]
In this question asked by codemonkey, The rotation will depend upon:
upon impact, on:
Initial Speed of the ball hitting the surface (magnitude of ball velocity vector)
Friction co-efficient of ball &...
0
votes
2
answers
2k
views
How to detect collision between a camera and a mesh?
I am wondering how you would be able to extract mesh properties (i.e. faces, vertices, and vertex normals) and use them to create a collidable object, one that a camera can't go through ?
I am using @...
-5
votes
2
answers
124
views
Should I negate a variable or use absolute value? [closed]
this is how i was chaning ball postion
if(...) //if ball goes to left of screen
dx = -dx
if(...) //if ball goes right of screen
dx = -dx;
i found some people ...