python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
python box2d pygame screen coordinates to box2d grid
I can't figure out the proper way to get the world coordinates from the mouse coords.
In issues like this: mouseWorld Coordinates Box2D there is a method: box2d.coordPixelsToWorld(x,y); but I can't fi...
Meeresgott
Votes: 0
Answers: 1
Build Box2D in x86 (Visual Studio)
Recently I implemented Box2D to our in-house game engine using C++11 and SDL2. A fresh install of Box2D will produce a x64 build. The engine had been built to run in x86 years prior so changing the ar...
Mr. Dr. Doom
Votes: 0
Answers: 1
PolygonShape created at different position
I'm trying to create a polygon at the center of the screen with a mouse joint, very simple.
A CircleShape works great. Also the mouse joint behaves strangely and I couldn't find a pattern.
All code is...
Adam Katav
Votes: 0
Answers: 1
How to implement a MouseJoint in pybox2d?
I am trying to move a dynamic body with mouse in pybox2d. Following is the minimal, reproducible code that I tried.
import pyglet
import Box2D
from Box2D import *
window = pyglet.window.Window(resiza...
Joji Joseph
Votes: 0
Answers: 1