Tagged Questions
-3
votes
1answer
525 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
209 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
940 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 ...