Questions tagged [collision-prediction]
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.
29 questions
0
votes
1
answer
95
views
Predictive Rectangle Collision Resolution Corner Snagging
I've written two main functions who's purpose is to detect and resolve collisions between a moving rectangle and a non-moving rectangle. I have a decent understanding of how the algorithm works, and ...
1
vote
1
answer
375
views
teleportation...how to not teleport inside walls
when the player uses the teleportation skill, he is instantly teleported X distance in the direction of movement so front, back, left and right depending in which direction the player wants to go.
the ...
1
vote
0
answers
38
views
Relaitve Velocity Obstacles
I am reading Reciprocal Velocity Obstacles for Real-Time, Multi-Agent navigation and I have trouble to understand the main part of the paper:
Let's take an example,...
2
votes
0
answers
170
views
2D game make precise collisions
I am currently creating a personal 2D tile map game in Java. This is the first time I have attempted to make any sort of game, so I don't have a lot of techniques known by experienced developers.
...
1
vote
0
answers
38
views
Moving Object Interception / Projectile Collision [duplicate]
I am using Unity to attempt to have missile A launch at incoming missile B and blow it up.
However in order to do this accurately, A must be able to take into account B's current velocity, direction ...
0
votes
0
answers
227
views
How to do collision resolution with 2d rectangles?
I am trying to create a basic side scroll 2D game. There are lots of documentation on collision detection but I find the easiest to use at the moment is just basic AABB Collision. This is my basic ...
0
votes
0
answers
110
views
What's the best type of Movement/collision detection for high-Speed games?
Before I begin I'd just like to make it clear that I am not familiar with many programming/development terms, so if anyone can link articles to any terms used it would greatly help things move along:
...
3
votes
1
answer
283
views
Dodge different type of obstacles
I'm writing a 2D game where the player has to kill a Ninja. This Ninja is coming closer with a constant speed chasing the player.
The Map has some static obstacles like stones no one can pass.
The ...
0
votes
2
answers
1k
views
2d Rectangle Collision Resolution: Find rollback point
I have a 2-part question:
1:
I have 2 rectangles, A and B. B is a wall and A is moving. My simple logic here is every time A moves, it moves based on some (x,y) offset and then checks if it collided ...
4
votes
2
answers
446
views
Determining the first future intersection possible between ships and a planet
Somewhat of an extension of this.
The Problem
I have a ship being launched from a planet, and I would like it to travel at a constant speed and direction such that it intersects another planet the ...
25
votes
6
answers
7k
views
How to make sure spinning objects hit a target with the right end?
I'm working on a throwing knife type weapon where a player free aims and then throws a knife. The knife spins through the air and on collision stops spinning and parents itself to the object it ...
0
votes
2
answers
534
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 ...
1
vote
0
answers
217
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 ...
1
vote
2
answers
2k
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, ...
4
votes
2
answers
1k
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 ...