Search found 8 matches
- Sun Sep 28, 2014 1:12 am
- Forum: Bug reports
- Topic: Getting a b2Assert: Polygon is degenerate.
- Replies: 1
- Views: 17738
Getting a b2Assert: Polygon is degenerate.
Hello, So I will try to explain this and hopefully it makes sense. A while back after I made something in RUBE and loaded a scene using box2d everything was fine. I updated the sdk that I was using and it had the same box2d version (2.3.0), however the some of the code is different and it traces bac...
- Sun Sep 29, 2013 6:20 pm
- Forum: Box2D tutorial discussion
- Topic: Updating to Box2D 2.3.0 using Visual Studio Express 2012
- Replies: 0
- Views: 77138
Updating to Box2D 2.3.0 using Visual Studio Express 2012
Hello everyone, So my main development environment is using my mac and Xcode as my IDE. But I tried to recompile my code in Visual Studio Express 2012 because I wanted to see how my project runs under Windows and I am having a little rough time getting use to the IDE. The main problem I am having is...
- Wed Sep 11, 2013 3:29 am
- Forum: Box2D tutorial discussion
- Topic: QueryAABB not calling ReportFixture method
- Replies: 4
- Views: 19321
Re: QueryAABB not calling ReportFixture method
So I did find my problem this morning. The small problem was the aabb lowerbound.y and upperbound.y calculation was wrong because I didn't have to recalculate it by taking the difference to the window hight which I was doing. The real problem, which is sad that it was obvious, was that I was passing...
- Mon Sep 09, 2013 8:50 pm
- Forum: Box2D tutorial discussion
- Topic: QueryAABB not calling ReportFixture method
- Replies: 4
- Views: 19321
Re: QueryAABB not calling ReportFixture method
I didn't have much time to look into it this morning. But I think I located where my problem is. I did a log output of my aabb variable and for some reason the lowerbound and upperbound x coordinates are correct but the y-axis points seem to be inverted?? I'll look at it again this evening but I don...
- Sun Sep 08, 2013 7:26 pm
- Forum: Box2D tutorial discussion
- Topic: QueryAABB not calling ReportFixture method
- Replies: 4
- Views: 19321
QueryAABB not calling ReportFixture method
Hello, So I am at a point were I want to to use my mouse to interact with the dynamic bodies in my scene. Pretty common thing to do. I looked the reference on how it was done in the sample loader for cocos2d using obj-c and the box2d testbed with the cocos2d-x example which I am using. Now everythin...
- Fri Aug 30, 2013 5:07 am
- Forum: R.U.B.E discussion
- Topic: Problem using b2djson RUBE loader
- Replies: 3
- Views: 12800
Re: Problem using b2djson RUBE loader
Got it fixed.
I did have to add the new sources to my compile list.
Weird how other libraries that relied on Box2D lost a link to common files and I had to explicitly add the search path to the folder even though it worked before I upgraded to the newer Box2D version.
Anyways, it works.
Thank you.
I did have to add the new sources to my compile list.
Weird how other libraries that relied on Box2D lost a link to common files and I had to explicitly add the search path to the folder even though it worked before I upgraded to the newer Box2D version.
Anyways, it works.
Thank you.
- Tue Aug 27, 2013 9:43 pm
- Forum: R.U.B.E discussion
- Topic: Problem using b2djson RUBE loader
- Replies: 3
- Views: 12800
Problem using b2djson RUBE loader
Hello, I am in the process of trying to get my some of my RUBE scenes running using cocos2d-x. I am using a fairly up to date developer version but regardless it still uses Box2D version 2.2.1. The c++ loader uses the b2MotorJoint so I tried just updating the Box2D files to 2.3.0 in the template but...
- Sat Aug 17, 2013 5:05 pm
- Forum: R.U.B.E discussion
- Topic: Best practices of object design using Box2D and RUBE
- Replies: 1
- Views: 10087
Best practices of object design using Box2D and RUBE
Hello everyone, I am fairly new to using Box2D and RUBE but I have a few questions about the actual designing of the objects in the world. The first is, are "objects" suppose to be made up of 1 body with multiple fixtures contained inside of it like how I thought originally or 1 body for e...