Tagged Questions
0
votes
2answers
83 views
C# XNA AABB vs AABB collision resolution, AABBs ghost through each other
I've been learning a bit of collision resolution through a tutorial here and I can't seem to get the AABBvsAABB resolution working, I have CirclevsCircle and AABBvsCircle resolution working with the ...
3
votes
3answers
112 views
XNA Collision is quircky/wobbly, how to improve?
I am sorry if this was already answered but I couldn't find the answer.
So I am doing a tile based platformer and when I was making collision I had quiet a struggle I looked here and googled for ...
1
vote
1answer
75 views
Rectangle collision is not working correctly [closed]
I have difficulties with the rectangle collision. My character can go through the right side and through the bottom of each platform rectangle. I guess their is a mathematical problem with the ...
0
votes
0answers
68 views
Irrlicht collision with a invisible mesh [closed]
I'm writing a Final Fantasy-like game engine, with 2D backgrounds and 3D models with Irrlicht.
To calculate collisions with the objects in the background I use a invisible mesh like this:
I have ...
-2
votes
0answers
56 views
Stationary turret that tracks the player when in sight [closed]
Hello i am doing a project for school i am new to c# and need some help with a turret i am creating a simple 2d game and i want my turret sprite to rotate and track my player when he is in view and ...
0
votes
1answer
104 views
Recommended collision response needed [closed]
In my game, I have
Player class
Enemy class
Wall class
GameComponents class ( Which is the base class for Player, Enemy and Wall)
The rules are
Enemy chase Player, if collided with Walls, ...
-1
votes
2answers
98 views
Jittery effects with collisions [closed]
I have been having some problems with my coding lately. I am trying to create a platform-based game and I have been having some troubles.
A friend of mine said that some update functions are out of ...
1
vote
2answers
131 views
Collision Detection - Slide Around Sprite
I'm creating an RPG using XNA/C# and am trying to add some complicated collision detection code. I have the playable character 'Wizard' and when it collides with something, a method gets called in his ...
2
votes
3answers
196 views
How should I calculate the new angle/direction of my ball hitting a wall? [duplicate]
I'm building a Pong game and I am stuck at how the ball should bounce when hitting a horizontal wall.
I tried a few methods but none seems to work.
So far I have an update method, which is called ...
0
votes
1answer
100 views
I'm having trouble with collision detection in XNA [closed]
I've written a tile editor and game in XNA, with velocities and gravity, and am having trouble with some of my collision detection things. It works okay, but seems to glitch between just inside and ...
-2
votes
1answer
88 views
Help me debug my 3-d collision code [closed]
I have been havaing a problem doing 3-d collision in a game i have been trying to make for several weeks now. What i am trying to do is prevent a PlayerModel object from colliding with Obstacle(cube) ...
0
votes
1answer
157 views
Creating A Bounding Box around each item in a list XNA 4.0
I have asked a similar question before except i am more experienced and have more understanding of XNA. I have bullets that shoot whenever you press RightTrigger. I am having trouble though creating ...
5
votes
2answers
128 views
How can I normalize a vector if I am handling movment of each axis seperatley?
I am writing a 2D tile based game engine in XNA, and I've recently fine-tuned my collision detection using the answers provided here and more specifically here.
The tile based collision detection now ...
2
votes
2answers
298 views
3D Collision Detection with XNA
So I'm trying to implement some collision detection in XNA. I'm aware of the Bounding Spheres, but I worry with the accuracy, most items in my game are cubic in nature, so it seems very square-peg in ...
0
votes
1answer
144 views
How to make AABB collisions work? [closed]
I am unable to make efficient AABB collision in XNA 4. I am making a platformer, with tile based map.
Here is what I do in my tile class :
public virtual void Update(GameTime gameTime, ...