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
46
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
71
views
Ensure a path always exists between moving objects
I am working on a small non-discrete game where monster are coming towards player in random direction, sort of the very simple asteroid shooter game.
Monster behaviour is as follows:
they spawn out ...
1
vote
1
answer
306
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 ...
0
votes
1
answer
51
views
Orient a player mid-air to their predicted landing orientation in Unity?
Ever played Skate 3? When dropping into a ramp, or if you're midair, your player's up direction aligns to the normal of the surface you're about to land on, while respecting the player's forward ...
1
vote
0
answers
32
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,...
0
votes
1
answer
335
views
Swept AABB corners collisions
I'm working on a small SFML engine, and i'm trying to implement continuous collisions. It's working great, but the corners are getting detected as collisions and i can't figure out why. I already ...
2
votes
0
answers
128
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.
...
0
votes
0
answers
490
views
Exact collision time of two axis-aligned bounding boxes
I am trying to calculate the exact collision time of two axis-aligned bounding boxes (aabb) as fast as possible (in the sense of CPU time).
I have all the required information (aabb min, max, center, ...
1
vote
0
answers
37
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 ...
1
vote
0
answers
131
views
How to adjust a path to avoid collisions with moving obstacles inside a nav mesh?
I'm writing a script for a bot and I'm a little bit stuck.
There's a game, there's a player (me) and I want to get from point A to point B.
I can find the path via bot's API (it returns a ...
0
votes
0
answers
200
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 ...
1
vote
2
answers
527
views
Wall sliding in JavaScript; works, but gets stuck at corners
this is a follow up to this other question: How do I handle player collision with corners of a wall
In inspiration of the code given in its answer, I tried to write some new code.
Basically, in the ...
0
votes
0
answers
99
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:
...
0
votes
0
answers
183
views
Collision prediction of 2 moving objects
I have to 2 objects with Collider2D. Both objects are moving, in the very next frame they will either overlap each other or not. How to predict if they would ...
3
votes
1
answer
241
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 ...