collision
How to move multiple rectangles as collision response?
I\'m trying to make a game (using irrlicht engine with c++) where you can trap your enemy using boxes. But I just don\'t get how to detect what should be moved when a collision between the user and on[详细]
2023-01-09 00:52 分类:问答Actionscript collisions: solving exceptions and strange cases
I have created a collision class to detect collisions using pixels. In my class I\'ve also developed some functions for determining the collsion angle. Based on this I created some examples:[详细]
2023-01-08 01:31 分类:问答Solving a cubic to find nearest point on a curve to a point
Ok, I have a projectile that has its position defined such that: a.x = initialX + initialDX * time; a.y = initialY + initialDY * time + 0.5 * gravtiy * time^2;[详细]
2023-01-07 05:46 分类:问答Actionscript 3 pixel perfect collision. How to? (learning purposes)
I know that there are people out there creating classes for this (ie http://coreyoneil.com/portfolio/index.php?project=5). But I want to learn how to do it myself so I can create everything I need the[详细]
2023-01-06 19:16 分类:问答Check collision speed in Chipmunk Physics
I\'m using Chipmunk 5 for iPhone, with Cocos2D.Upon collision between two specific objects I\'d like to run a method which checks the velocity of that collision, if it\'s over x it runs one set of cod[详细]
2023-01-05 09:51 分类:问答Reflecting a circle off another circle
Working with iPhone and Objective C. I am working on a game and I need to correctly reflect a ball off a circle object. I am trying to do it as a line and circle intersection. I have my ball position[详细]
2023-01-05 06:16 分类:问答Is it safe to assume a GUID will always be unique?
I know there is a minute possibility of开发者_开发知识库 a clash but if I generated a batch of 1000 GUIDs (for example), would it be safe to assume they\'re all unique to save testing each one?[详细]
2023-01-02 21:14 分类:问答Surface Detection in 2d Game?
I\'m working on a 2D Platform game, and I was wondering what\'s the best (performance-wise)way to implement Surface (Collision) Detection.[详细]
2023-01-02 19:53 分类:问答constrain a touchesmoved object from colliding with walls?
I\'m trying to create a very simple game where you can drag a simple imageView. The thing is there is a wall in the frame (just a rectangle) on which the image should not go. so I did something like t[详细]
2022-12-31 02:00 分类:问答Bouncing a ball off a surface
I\'m currently in the middle of writing a game like Breakout, and I was wondering how I could properly bounce a ball off a surface.[详细]
2022-12-30 05:49 分类:问答