box2d-iphone
Objects that defy gravity but collide with others in Box2D. How?
newbie to iPhone game development and Box2D here. I\'m developing a game in which I can move (drag) otherwise stationary objects that can collide with other objects.[详细]
2023-01-17 07:26 分类:问答Developing A Simple Game without using Game Engines?
I am trying to develop a simple soccer game including penalty kicks in which i have to animate a ball from player to the goal post...earlier i have been using simple animations using a timer to add to[详细]
2023-01-15 12:44 分类:问答Box2d:negative value return from GetLinearVelocity();
When I use the following, somet开发者_StackOverflow中文版imes I get a negative value in mmVelik.x and mVelik.y.[详细]
2023-01-10 07:43 分类:问答Casting to derived type problem in C++
I am quite new to C++, but have worked with C# for years, however it is not helping me here! :) My problem:I have an Actor class which Ball and Peg both derive from on an objective-c iphone game I am[详细]
2022-12-31 12:05 分类:问答Only Integrating Box2D collision detection in my 2d engine?
I have integrated box2d in my engine, ( Debug Draw, etc. ) and with a world I can throw in some 2d squares/rectangles etc.[详细]
2022-12-29 21:12 分类:问答GridView is trimming leading spaces. Can I stop that?
The GridView in ASP.NET 2.0 is trimming the leading spaces from data coming from a SQLServer database. I have y开发者_Go百科et to find a way to keep it from doing that. The data in this particular vie[详细]
2022-12-25 03:07 分类:问答How to remove the bounce off colliding objects in box2d?
I am trying to delete an object in box2d when two objects collide. When my two objects do collide, one of the object bounces off the other. It does delete the other object, but I want it to make it[详细]
2022-12-21 04:02 分类:问答How to set the position of a sprite within a box2d body?
Basically I have 2 polygons for my body. When I add a sprite for userData, the position of the texture isn\'t where I want it to be. What I want to do is adjust the position of the texture within the[详细]
2022-12-21 02:16 分类:问答GetBodyCount() always returning 0 in Box2d?
I am using the cocos2d-iphone + Box2d engine, I have a simple call in Box2d to create a body: b2Body *crateBody = world->CreateBody(&crateBodyDef);[详细]
2022-12-17 14:10 分类:问答iPhone: NSXMLParser's foundCharacters method called multiple time for single tag
i am able to parse the XML file. but i am facing strange error. My XML file format is like this <contact>[详细]
2022-12-17 02:42 分类:问答