collision-detection
How should I reset a Sprite's location when it is attached to a Body?
I am using a Pool to manage Bullets in my game. The only problem is when a Bullet is obtained from the pool having just been recycled because it was involved in a collision, although it\'s Body\'s loc[详细]
2023-03-31 22:46 分类:问答problem with uiimageView collision detection
here is my code: -(void)moveTheImage { for (NSUInteger i = 0; i < [views cou开发者_JAVA百科nt]; i++)[详细]
2023-03-31 16:57 分类:问答Coronasdk: How to check that if the object is in collision state or not?
Since I still do not buy corona, I still cannot use their forum. Hope someone here may have the answer for me.[详细]
2023-03-31 13:12 分类:问答3D Line Segment and Plane Intersection
I\'m trying to implement a line segment and plane intersection test that will return true or false depending on whether or not it intersects the plane. It also will return the contact point on the pla[详细]
2023-03-30 11:33 分类:问答Method to detect intersection between a rectangle and a polygon?
What is the best method to detect whether the red rectangle overlaps the black polygon?开发者_开发知识库 Please refer to this image:[详细]
2023-03-29 19:54 分类:问答Multiple rectangle collision
I have one draggable rectangle and multiple static rectangle. I know how to detect if two rectangles collide and once I detect the collision between two rectangles I replace the draggable rectangle to[详细]
2023-03-29 16:53 分类:问答Circle rect collision detection not working in Corona SDK
I needed to get rid of physics in my game so I needed to implement a custom collision detection function (the collision detection function is being called every frame). I want to check if a rectangle[详细]
2023-03-29 12:34 分类:问答Pong game in c++
Now I\'m making a pong game in c++, and by now I\'ve made a pad开发者_如何学运维dle and ball which both inherits from entity that holds the coordinates and the bounding box(can be circle or polygon) o[详细]
2023-03-29 09:24 分类:问答Shape casting a capsule against convex polyhedra
Let\'s say I have a upright capsule shape (swept sphere) that I would like to cast it along a velocity vector. I would like to be able to find the point of contact and a surface normal for any convex[详细]
2023-03-29 08:04 分类:问答Best algorithm for efficient collision detection between objects
I\'m confused.Well not confused, so much as not wanting to do 6 test programs to see which algorithm is the best. So I thought I\'d ask my expert friends here at SO to give me the benefit of their exp[详细]
2023-03-29 03:56 分类:问答