Tagged Questions
0
votes
0answers
107 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 ...
6
votes
3answers
293 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
283 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 ...
1
vote
1answer
151 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
5answers
430 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
324 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
530 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
210 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
941 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 ...
3
votes
3answers
1k views
Implementing Separating Axis Theorem (SAT) and Minimum Translation Vector (MTV)
I was following codezealot's tutorial on SAT and MTV and trying to implement it myself but I've come a cropper when it comes to getting the correct MTV. Here is my example: (Cue pretty pictures...)
...
1
vote
0answers
172 views
Debugging Minimum Translation Vector
I implemented the minimum translation vector from codezealot's tutorial on SAT (Separating Axis Theorem) but I'm having an issue I can't quite figure out. Here's the example I have:
As you can see ...
-1
votes
1answer
116 views
Modifying SAT Code To Obtain Penertration Vector [duplicate]
Possible Duplicate:
SAT, How Do I Find The Penetration Vector?
Hi how could I modify my SAT code and visual debug it to find the penetration vector of the two Entities so I can separate ...
1
vote
2answers
377 views
SAT, How Do I Find The Penetration Vector?
I've just successfully implemented Separating Axis Theorem (SAT) in my game but I was wondering how do I find the penetration vector? I heard it can be useful for collision response. e.g. The harder ...
14
votes
1answer
548 views
How to resolve collisions of compound shapes using SAT?
SAT is a decent way to determine collisions between arbitrary convex polygons. You'll even get the vector that is needed to resolve a collision.
To resolve collisions between complex (non-convex) ...
12
votes
3answers
2k views
2D game collision response: SAT & minimum displacement along a given axis?
I'm trying to implement a collision system in a 2D game I'm making. The separating axis theorem (as described by metanet's collision tutorial) seems like an efficient and robust way of handling ...
8
votes
2answers
2k views
Collision resolution in case of collision with multiple objects
I have static objects and movable objects. The collisions are detected using the separating-axis-theorem.
For example, in this situation I have two static objects (in red):
and a movable object ...