Tagged Questions
0
votes
1answer
61 views
enemy behavior with boundary to change direction
I'm doing space shooter kind of game, the logic is to reflect the enemy if it hits the boundary. With my logic, sometimes enemy behaves like flickering instead of changing the velocity. It's like ...
3
votes
1answer
58 views
Moving the jBullet collision body to with the player object
I am trying to update the location of the rigid body for a player class, as my player moves around I would like the collision body to also move with the player object (currently represented as a ...
-2
votes
1answer
142 views
C# XNA 2D Multiple boxes collision detection and movement
Hi,
I've been making simple game where you shoot boxes that are coming towards you.
All game objects are simple rectangles.
Now I have problem with collision detection; how to check where the ...
4
votes
1answer
202 views
Collision Detection with SAT: False Collision for Diagonal Movement Towards Vertical Tile-Walls?
I'm developing my first tile-based 2D-game with Javascript. To learn the basics, I decided to write my own "game engine". I have successfully implemented collision detection using the separating axis ...
0
votes
0answers
147 views
Efficient mapping layout in 2D side-scroller, and collisions between character and the world
I haven't touched Visual Studio for a couple months now, but I was playing a game from the '90s toady and had an epiphany: I was looking for something what i didn't need, and I wasn't using what I ...
1
vote
0answers
59 views
obb vs obb and resolve/response for 2d space game [closed]
Possible Duplicate:
OBB vs OBB Collision Detection
How can i detect if an rotated obb intersects another
rotated obb and resolve it so both obb objects dont go further into each other.
I ...
1
vote
1answer
291 views
Why does my 2d collision and movement not work properly?
I'm trying to write(in c++ using sdl) a mario like game as in a tile based world with by pixel movement for the character and I've run into some problems I cannot seem to find the source of:
1.The ...
0
votes
1answer
268 views
How can I determine which direction a 2D collision is occurring from?
The problem is as follows:
Think 2D Zelda (Links Awakening, A Link to the Past) style movement where you can run into walls from any of the four cardinal directions, or basically up, down, left, and ...
1
vote
1answer
245 views
What exactly is the difference between separation and obstacle avoidance
I've been reading some literature that explains both separation and obstacle avoidance. On first sight, they both seem very similar in what they are supposed to do: keeping objects apart form each ...
1
vote
1answer
188 views
I need help with specific types of movement
I'm adding movable crates to my game and I need some help with my movement code. The way I've set up my movement code the crate's X and Y are moved according to a vector2 unless it hits a wall. Here's ...
1
vote
2answers
494 views
Collision Problems
I'm having some troubles with a 2D platformer type game (there's more to it, but that's all that matters for this question). I had collision with the platforms working fine, but if the character hit ...
7
votes
4answers
530 views
Moving objects colliding when using unalligned collision avoidance (steering)
I'm having trouble with unaligned collision avoidance for what I think is a rare case. I have set two objects to move towards each other but with a slight offset, so one of the objects is moving ...