Questions tagged [box2d]
Box2D is an open-source rigid-body 2D physics simulation library for games, written in C++, with ports in various languages
109
questions with no upvoted or accepted answers
0
votes
0
answers
135
views
Prismatic Joint causes a crash-Box2D(cocos2d)
tried to set up a prismatic joint, but I get this error upon run time: Assertion failed: (IsLocked() == false), function CreateBody, file /Users/Aether/Developer/JFRecode/JFRecode/libs/Box2D/Dynamics/...
0
votes
0
answers
85
views
Andengine Box2D Physics "disappearing"?
I have problems with my PhysicsWorld in Andengine GLES20. Sometimes when i first load my app and level there is no velocity added to my bodies. they also rotate slower as it seems. This also happens ...
0
votes
0
answers
1k
views
Box2D Soft Body Wheel in Unity3D
I was watching this video made with IForce2D, its about creating soft bodied wheels in box2D.
http://www.youtube.com/watch?v=F-aDMZUVw0c
I wanted help in being able to increase the Radius of the ...
0
votes
1
answer
111
views
Libgdx + Box2d working with 2 cameras
Recently I have read that you can work with 2 cameras whenever you involve Box2d, which only works in meters.
In my Renderer class, I receive all the entities in the game and then draw them. I work ...
0
votes
1
answer
309
views
Box2d Coordinate System
In the game I'm trying to code I got to have two bodies. One StaticBody and one DynamicBody. I want to have the DynamicBody on top of the StaticBody. Somehow all I get is this:
Is it possible that ...
-1
votes
1
answer
104
views
What's the difference between Box2D and tweening?
It seems like Box2D can be used to move sprites across the screen, so how does this differ from tweening? Is it that Box2D is for physical collision detections and tweening is just animations?
-1
votes
1
answer
202
views
Collision function calls before colliding
My Box2D contact listener class is calling post solve and beginning the contact function before colliding? This is causing my object to bounce back before hitting the ground. What could be causing ...
-1
votes
1
answer
2k
views
Create Box2D and engine polygon Box2D body without sprite
I have created my body using following code: (please read full description)
...
-2
votes
1
answer
455
views
Is it possible to use Box2D or Chipmunk in Swift & Cocos2d?
I am new to iOs programming.
I wonder whether it is possible to use Box2D physic engine in Cocos2D with Swift. I am asking because I started to learn Swift. And I create Xcode project from ...