Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
91 views

Change screen size in PyBox2D

I would like to use pybox2d's Framework class to visualize the simulation. However, the default screen / windows size is 640 x ...
Gilfoyle's user avatar
  • 111
0 votes
1 answer
64 views

Perpendicular inelastic joint of two bodies in PyBox2d

I would like to create two objects of different density and (inelastically) weld them perpendicular together, so that the final object forms an L. Afterwards, I want to be able to assign a position ...
Gilfoyle's user avatar
  • 111
0 votes
3 answers
325 views

Finding an angle between two bodies

I am trying to find angle between vectors a and b. But the cosine for some reason is not within +/- 1, that means that it is not possible to find an angle between a car and a pedestrian... Any help ...
Mechatrnk's user avatar
1 vote
0 answers
176 views

Rolling a circle around a square

I am stuck on a simple Box2D task. I have a box and a ball (in top-down view so no gravity), and I would like the ball to roll around the box. Here is my code. Basically now I am trying to detect ...
RollingAround's user avatar
0 votes
1 answer
421 views

Pybox2d Collision detection explanation

Hi I am working on a PyBox2D game and it became quite complex and I need to learn about collisions, so I made this very simple script in order to learn collision setting more effectively, however I am ...
Mechatrnk's user avatar
0 votes
1 answer
327 views

PyBox2D car moves uncontrollably

I am trying to program TopDown Car using python and Box2D (similar to this tutorial: http://www.iforce2d.net/b2dtut/top-down-car ) The steering is so far limited to thres states of wheel rotation, ...
Mechatrnk's user avatar
0 votes
1 answer
404 views

Point inside a large polygon

I am just starting to get into using pyBox2D as I already knew python well and I was wondering if I have 500 points of a large polygon, how would I be able to check if a point lies inside of this ...
adammoyle's user avatar
  • 103
3 votes
1 answer
805 views

Cocos2d+pybox2d vs Cocos2d-Iphone

Myself and two colleagues are working on making our first indie game for PC and, we decided to use Cocos2D + PyBox2D. We decided this based on what we've seen of Cocos2D-iPhone games, but I'm not ...
DraskyVanderhoff's user avatar