Skip to main content

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.

Filter by
Sorted by
Tagged with
0 votes
1 answer
95 views

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 ...
Vonkswalgo's user avatar
1 vote
1 answer
375 views

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 ...
Cei's user avatar
  • 873
1 vote
0 answers
38 views

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,...
Denis's user avatar
  • 131
2 votes
0 answers
170 views

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. ...
LuckyBandit74's user avatar
1 vote
0 answers
38 views

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 ...
Slopax's user avatar
  • 11
0 votes
0 answers
227 views

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 ...
hahasajk's user avatar
0 votes
0 answers
110 views

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: ...
Joey Antonucci's user avatar
3 votes
1 answer
283 views

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 ...
LuaNoob's user avatar
  • 161
0 votes
2 answers
1k views

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 ...
errandel's user avatar
4 votes
2 answers
446 views

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 ...
Samson Close's user avatar
25 votes
6 answers
7k views

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 ...
FrontEnd's user avatar
  • 1,789
0 votes
2 answers
534 views

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 ...
Evorlor's user avatar
  • 5,881
1 vote
0 answers
217 views

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 ...
unfamous's user avatar
  • 111
1 vote
2 answers
2k views

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, ...
Bonfire Dog's user avatar
4 votes
2 answers
1k views

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 ...
Anthony Sasse's user avatar