Tagged Questions
-1
votes
0answers
62 views
2d platformer Tiles collision
I have a problem with detecting collision between my player and the tiles that makes the map. I have been looking all day for a solution but I can't seem to find one that suits my needs.
Here is how ...
7
votes
3answers
308 views
Reusable top-down collision class
I've recently picked up monogame and am working on a simple top down game to get me started and learn the basics.
I've got the movement and the rotation to follow the mouse sorted out but I'm stuck ...
0
votes
1answer
34 views
Rectangle collision doesn't work on WP 8
Collision detection is not working correctly when my 64x64 pixel block touches a bigger block. The big(rect2big) block measures 128x128 pixel. The falling block should change it's color to black when ...
0
votes
1answer
166 views
Collision Issues
When I run the collision code, there are no errors, but when I shoot the enemy nothing happens..... Any problems that are blindingly obvious?
Class Level Variables
public Model model { get; ...
-1
votes
1answer
121 views
Xna tile map collision
I finally found a tutorial on tile maps and loading them in from a file that I understand (http://circlessuck.blogspot.co.uk/2012/09/xna-tutorial-basic-tile-engine-part-2.html), however the tutorial ...
-1
votes
1answer
91 views
3d Wall sliding collision
I'm working on collision for walls in my game and the way I currently have it I get stuck walking into a wall. I'm trying to make my character slide on the walls but still collide.
My character moves ...
1
vote
0answers
120 views
XNA Monogame How to handle tile collision [closed]
I am working on a simple XNA side scrolling game as a learning exercise. It works by creating a level object which creates a matrix of tiles based on a map within a text file. The tiles are then drawn ...
3
votes
1answer
151 views
Why would a Bounding Sphere and BoundingBox not intersect (when they should)?
I have a bounding sphere and a bounding box that should be intersecting, however, Intersects(...) is returning false. For example, the following returns false:
new BoundingSphere(new Vector3(500, ...
3
votes
1answer
73 views
How to determine depth of a pixel perfect collision
I am trying to figure out how to determine the depth of a pixel perfect collision in XNA. I want to know the depth in order to be able to use it in my collision response.
At the moment I have the ...
3
votes
1answer
103 views
How do you get the collision plane when using AABBs? [duplicate]
My collision detection initially seemed to work well enough, but my answer to this question shows that I have went with SAT testing now instead. My goal was to find the plane at which to slide the ...
1
vote
0answers
80 views
scale rotating boundingbox
I want to use basic rectangular collision detection. I have a rotating sprite and a method that calculates the bounding box every time in the Update() method. I simply check for intersection between ...
0
votes
1answer
249 views
Creating 2D polygons in XNA
I am trying to implement collisions using the separating axis theorem. However All I have ever used in terms of polygons is the Rectangle class included in XNA already. How can I make multi-sided ...
0
votes
2answers
246 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 ...
4
votes
3answers
173 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
115 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 ...