The determination of whether or not two or more entities make contact with each other during gameplay.

learn more… | top users | synonyms (2)

1
vote
0answers
35 views

2D collision detection with Boundaries of object

Currently I have a working game in lwjgl/java, with an object(player) that moves across the screen. As it is tile-based, the player has to move around, and I need to know when it collides with certain ...
2
votes
1answer
92 views

Strange collision behaviour in 2D game even though the collision is very basic

I have a player ship (cube) and some enemy laser projectiles. When the player ship has position X values greater than 1, collision with the enemy projectiles occur but when it has lower X values, the ...
0
votes
0answers
31 views

Smooth circular collisions with edges/collision boxes [C# + XNA]

So, me and a friend are working on our top-down perspective 2D game, and have come to work on perfecting our collisions. In its current state our player sprite is colliding with walls, but is ...
1
vote
2answers
64 views

Collision detection - make sure the player touches the object exactly

I know this is really something I should be able to figure out on my own, but a solution is evading me. Okay, here are a few relevant parts of my code. bool Game::Col(int x1,int y1,int w1,int h1, ...
0
votes
0answers
41 views

Character skills' collision detection

I am building a server-client online game with Unity and I get some problems on the collision detection. I have two players, A and B, and both have a character controller, and I have to turn off the ...
-1
votes
0answers
20 views

Map Collision Detection in Ogre

I am writing a game and plan on doing all of the physics myself. I am currently working on collision detection, at this point specifically with the map. Currently, a BSP map is being used as it was ...
0
votes
0answers
32 views

Collision detection - definitive method? [closed]

I am completely new to game programming and it came as no surprise when I came on here an saw that collision detection was one of the most popular tags. I am attempting to make a really simple ...
0
votes
1answer
42 views

CDK (as3) false positives when using it with array elements

I'm having problems when using the CDK (Collision Detection Kit) with elements in an array. It keeps getting me false positives of collision. I'm making a game in which the player controls a “ship”, ...
2
votes
1answer
98 views

When is a quadtree preferable over spatial hashing?

I'm making a 2d platformer with lots of objects at the same time. They're all AABB collision detected. I first tried a quadtree to decrease the number of of objects to check, tried a few different ...
2
votes
1answer
37 views

Libgdx - Collision position - Box2D

I'm actually developping my own game but i'm facing a little problem. I trying to figured out how to get the position of a fixture (collision) between two entities. For example this : ...
-1
votes
0answers
43 views

Collision with smooth movement? [closed]

Having a lot of trouble with my collision system. I had it working so that you could move one tile at a time however I wanted to get smoothness and make it so that you could move smoothly. While I got ...
-3
votes
1answer
74 views

Simple collision detection implementation [closed]

I'm making a game with C++ where the program extracts the lines out of an image (via openCV), stores them in an std::vector< std::vector< int > > and the builds a tile map out of it which is ...
-1
votes
1answer
31 views

Grid based Collision Detection between circles [duplicate]

I am working on a 2d arcade game where I have 5 types of circles with different sizes: The ship, the missiles, and 3 types of monsters. This is what it looks like: Currently I'm using brute force ...
2
votes
1answer
92 views

At same positioned game objects collision detection

In my game, I am creating two game objects at same position using Instantiate statement. Each generated object has box collider attached. So I want to detect collision between them so I write ...
0
votes
0answers
33 views

Collision detection with many moving objects and an unknown world size [duplicate]

At present I am using the simple O(n^2) algorithm whereby the bounding geometries of each pair of game objects is tested for collisions. The result is that I can only handle around 100 game objects ...

15 30 50 per page