The separating-axis-theorem tag has no wiki summary.
1
vote
0answers
36 views
Code problem with SAT Collision improvement [closed]
I'm developing a Zelda game with Java using the Slick2d library.I'm using the Separating Axis Theorem based algorithm for resolving collisions and it works pretty well. But as I use invisible polygon ...
0
votes
0answers
102 views
2D Convex Poly - Circle collision, SAT vs Distance to Segment
I'm doing a collision detection class based on SAT
and now I'm not sure how is better to handle circle-poly collision
I can go with SAT by projecting on all poly axis + nearest vertex
or go with ...
0
votes
0answers
145 views
Separating axis theorem implementation flaky minimum translation vector based on triangle orientation
I've implemented some collision detection using separating axis theorem. Works fine for axis-aligned rectangles and two out of four possible right triangle orientations. For some reason when the ...
6
votes
3answers
278 views
Narrow-phase collision detection algorithms
There are three phases of collision detection.
Broadphase: It loops between all objecs that can interact, false positives are allowed, if it would speed up the loop.
Narrowphase: Determines whether ...
5
votes
1answer
269 views
How many and which axes to use for 3D OBB collision with SAT
I've been implementing the SAT based on: http://www.geometrictools.com/Documentation/DynamicCollisionDetection.pdf for 3D collisions
On page 7, in the table, it refers the 15 axis to test so we can ...
0
votes
2answers
172 views
How can I get accurate collision resolution on the corners of rectangles?
I have a working collision system implemented, and it's based on minimum translation vectors. This works fine in most cases except when the minimum translation vector is not actually in the direction ...
2
votes
2answers
112 views
How can I solve this SAT direct corner intersection edge case?
I have a working SAT implementation, but I am running into a problem where direct collisions at a corner do not work for tiled surfaces. That is, it clips on the surface when going in a certain ...
1
vote
1answer
147 views
How do I get the axes for SAT collision detection
In SAT collision detection how do I calculate the axes for projection?
1
vote
1answer
103 views
What is going on in this SAT/vector projection code?
I'm looking at the example XNA SAT collision code presented here:
http://www.xnadevelopment.com/tutorials/rotatedrectanglecollisions/rotatedrectanglecollisions.shtml
See the following code:
private ...
1
vote
5answers
421 views
Error in my Separating Axis Theorem collision code [closed]
EDIT 2: Made some more alterations, now the one area i'm still confused on is: how to work out the vector to project on the separation axes? My projectOnto(..) method has some huge gaps now and i know ...
4
votes
1answer
319 views
Collision Detection with SAT: False Collision for Diagonal Movement Towards Vertical Tile-Walls?
I'm developing my first tile-based 2D-game with Javascript. To learn the basics, I decided to write my own "game engine". I have successfully implemented collision detection using the separating axis ...
-3
votes
1answer
504 views
What is the MTV (Minimum Translation Vector) in SAT (Seperation of axis)?
What is the MTV (Minimum Translation Vector) in SAT (Seperation of axis)? and how can i use it?
Im trying to create my first game, where a ball can hit a a static brick (rectangle). Now if a ball ...
1
vote
2answers
208 views
Separation of axis theorem implementation
I have been following the this guide to implement this. My current implementation is the following:
class SAT {
SAT();
bool collides(Rectangle rect1, Rectangle rect2){
var axises = [
...
5
votes
2answers
926 views
Collision detection between circle and rectangle in 2D
In a game im developing in 2D, im have one or more circles (balls) that can collide with several rectangles (bricks).
Im trying to figure out a collision detection strategy, and have come up with ...
1
vote
1answer
298 views
Trouble with SAT style vector projection in C#/XNA
Simply put I'm having a hard time working out how to work with XNA's Vector2 types while maintaining spatial considerations. I'm working with separating axis theorem and trying to project vectors onto ...