box2d
Which Box2D JavaScript library should I use? [closed]
Closed. This question is seeking recommendations for books, tools, software libraries, and more. It does not meet Stack Overflow guidelines. It is not currently accepting answers.[详细]
2023-04-10 07:06 分类:问答How to use the mouse joint in Android?
I want to use the MouseJoint in Java for Android. I am new in box2d and cocos2d. I don\'t know开发者_Python百科 how to use the mouse joint.i recomend you to see this tutorial example. Copy from it (so[详细]
2023-04-09 10:42 分类:问答box2d with custom polygon crashes
I created a polygon which has 5 vertices, and all vertices are generated by VertexHelper. Why does the program get SIGABRT at b2Assert(area > b2_epsilon) in ComputeCentroid() in b2PolygonShape.cpp?[详细]
2023-04-08 19:44 分类:问答How to make a b2body move at a constant speed with box2d
I am making a box2d game and have enemies fly in from the left side of the screen to the right side of the screen. If I apply a force in the tick method like shown below, the enemies increasingly move[详细]
2023-04-08 17:11 分类:问答How to restrict motion to vertical in box2d
I have a box2d body that has a fixture of a ball. It just bounces up and down on top of a rectangular box. Sometimes it will fall off of the box for n开发者_如何学Pythono apparent reason. I there a wa[详细]
2023-04-07 19:23 分类:问答Developing for HTML5 canvas using Box2D engine but NOT in Javascript
Basically I have the following constraints for an upcoming project/game: Drawing should be done in the HTML5 canvas element[详细]
2023-04-07 17:52 分类:问答Ignoring mass from welded joints in box2d
What I have is a circle that rolls over other objects and \'picks\' them up. My current setup uses WeldJoint to join and place the picked up object at the circle\'s edge. I then edit these object\'s f[详细]
2023-04-07 17:47 分类:问答Why doesn't gravity scale work in box2d
I am trying to turn off gravity on one of my bodies. I have used the bodyDef.gravityScale = 0.0f but I am having no luck. Here u can look at my code below. Please help.[详细]
2023-04-06 21:46 分类:问答How many pixels is an impulse in box2d
I have a ball that you blow on with air. I want the ball to be blown more if it is close to the blower and blown less if it is farther away from the blower. I am using box2d and I am us开发者_如何学Go[详细]
2023-04-06 20:13 分类:问答cocos2d box2d scale sprite -> removechild (how?)
I am little slow in English, please do understand. Here is my source code: - (void)createBall:(CGPoint)touchedAt{[详细]
2023-04-06 10:31 分类:问答