Collision prediction is the branch of collision-detection that involves the detection of a collision that could happen in the future, based on the current state a physics system.
0
votes
1answer
63 views
Java 2D Game: Collision help
Ok, so in my Java2D Game, using swing/awt (I hear it is not the best to combine those), I am trying to finish collisions.
So, the problem is, the "if (player.xvel < 0) { }" and the "if (player....
0
votes
2answers
178 views
Does it matter who does the collision detection?
I gave an answer to How to decide which GameObject should handle the collision?, and received a lot of negative feedback on it, claiming that it does not matter who does the collision detection. I am ...
2
votes
2answers
150 views
2D moving sprites collision
I'm trying to create a game where i have two abjects A and B
1 :I know the shape of the two objects(Rectangles) .
2 :The speed and position of each object.
And i'm trying to figure out if the two ...
1
vote
0answers
70 views
How can I make cars drive navigate an intersection without colliding?
I'm trying to create a 2D game with a traffic intersection:
My car game-objects need to pass through the intersection without colliding with each other, and without stopping, if possible.
How can I ...
4
votes
1answer
75 views
How can I implement A* so that it accounts for the size of the actor?
I'm trying to make a little A* implementation using polygon verticies as nodes instead of grids and I ran into the problem of figuring out what paths are wide enough to accommodate the actor moving ...
1
vote
2answers
475 views
Detecting Collision in Next Step when Collider is rotating
In my Gamemaker: Studio game, I have a collision script for my enemy. The enemy is an alien, oSwarmer, moving through space which is also filled with drifting, spinning bits of debris. Some debris ...
1
vote
1answer
305 views
Prediction of collision place and time in Unity [duplicate]
I have two moving objects. I have chosen trajectories for objects that they would definitely collide if they don't change speed or trajectory. Is there easy way to check at which point and time the ...
5
votes
2answers
299 views
Predicting Enemy Movement
Well I have a simple 2D game where all positions are defined by and X and Y coordinate.
There are objects moving at a constant velocity. And a turret fires a bullet at the X and Y coordinates of the ...