physics
why we do the things we do to calculate collision response between 2d rigid bodies
Hey looking at this page which describes how to calculate collisions between any two polygons, I have a few questions on why the author takes some of the steps he does. He thoroughly shows how to calc[详细]
2023-04-12 18:58 分类:问答making dynamic bodies fall JBox2D
I\'m having some problems with JBox2D. I\'ve created a ball and world and everything as far as I can tell correctly, but when I call the world.step() method it dosen\'t make the ball fall from gravity[详细]
2023-04-12 13:46 分类:问答Corona SDK and moving objects
I have shapes (Rectangle) in my game and want to implement something like - when the shape object is pressed for small amount of time and pushed in any direction it should move small distance but pres[详细]
2023-04-12 12:01 分类:问答Finding Contact point - Box2d with Cocos2d
I\'m building a game with Cocos2d + Box2d I want my hero\'s jump direction to be orthogonal to the ground he is standing on.[详细]
2023-04-10 19:59 分类:问答reaching particular co-ordinate in projectile motion?
As I wanted to animate an image in projectile motion, My code is as follows, but it did not reach the target and give projectile animation, any help please?[详细]
2023-04-08 21:24 分类:问答Find nanoparticles
I need some help. I have this sample: which is a piece of plastic with some nanoparticles insi开发者_如何学JAVAde (you can see the small black dots). Can someone help me figure out a quick and dir[详细]
2023-04-07 09:50 分类:问答RK4 in 2D gravity simulation probs
In actionscript 3.0, I have two objects (a central red star and a orbiting blue planet). I want to use RK4 to plot the orbit. I\'m running the simulation once per frame, and drawing once per frame. I[详细]
2023-04-06 17:59 分类:问答What is a good way to simulate particle movement?
I am trying to simulate the following: 10 balls that are moving in an area of fixed dimensions Whenever two or more balls come into a proximity range of say 40m, I want an event[详细]
2023-04-05 21:09 分类:问答Collision response between two 2d circles
I am trying to write a sim in which two circles will collide and then bounce apart in an 开发者_Python百科elastic collision.Each circle has a position, velocity, mass, and radius.I already have the co[详细]
2023-04-05 07:20 分类:问答Space Physics for missiles, spaceships - Learning Calculus edition
Supposing we have Missile A, with a position vector and velocity magnitude (ignoring acceleration, as many games do) and Spaceship B, with position and velocity vectors. Now,开发者_运维技巧 this missi[详细]
2023-04-05 01:36 分类:问答