Search found 8 matches

by Mollusk
Mon Mar 17, 2008 7:22 am
Forum: Bugs, Requests, and Feedback
Topic: Proper way to handle objects leaving the world boundary
Replies: 8
Views: 3182

Re: Proper way to handle objects leaving the world boundary

Just a quick post to say that I seem to have the same problem. I've been strungling with it for a few days now :s When a body moves out of the world (slightly bigger than my PDA screen), it triggers the b2BoundaryListener and I add to a body erase queue, than remove it... It works fine, except if I ...
by Mollusk
Sun Mar 16, 2008 3:28 am
Forum: General Discussion
Topic: Fixed Point Implementation
Replies: 27
Views: 18389

Re: Fixed Point Implementation

Well, I tested with the images showing and also without, to see the performance hit... And basically, the line drawing takes nearly no time compared to the actual Box2D code (as I'm not doing any fancy drawing...)
by Mollusk
Sun Mar 16, 2008 2:39 am
Forum: General Discussion
Topic: Fixed Point Implementation
Replies: 27
Views: 18389

Re: Fixed Point Implementation

Ok, that sounds highly possible too ^^ It's just that I don't have the problem in floats, the boxes were perfectly at 0 ^^ Ok, seems that for negative angles it rounds to -1 when it's between -1 and 0... I fixed that, now the boxes are straight ;) Did a quick test with more than 20 big stacked box :...
by Mollusk
Sat Mar 15, 2008 3:56 am
Forum: General Discussion
Topic: Fixed Point Implementation
Replies: 27
Views: 18389

Re: Fixed Point Implementation

Didn't know about that, I'll give it a try, thanks :)
by Mollusk
Sat Mar 15, 2008 3:06 am
Forum: General Discussion
Topic: Fixed Point Implementation
Replies: 27
Views: 18389

Re: Fixed Point Implementation

Yeah, it probably didn't get recompiled at first, not sure why, but it works now. Performance seems to be MUCH better than the floating point version ! And it's nearly perfect now. http://www.palib.info/blog/flvplayer.swf?file=http://www.xflib.net/Files/Box2DAngleBug.flv This video shows the angle b...
by Mollusk
Sat Mar 15, 2008 1:30 am
Forum: General Discussion
Topic: Fixed Point Implementation
Replies: 27
Views: 18389

Re: Fixed Point Implementation

With the latest patch vs latest SVN version, I get a compilation error : b2Island.o:b2Island.cpp:(.text+0x99c): undefined reference to `b2ContactSolver::SolvePositionConstraints(Fixed)' b2Island.o:b2Island.cpp:(.text+0x1420): undefined reference to `b2ContactSolver::SolvePositionConstraints(Fixed)' ...
by Mollusk
Fri Mar 14, 2008 6:33 am
Forum: General Discussion
Topic: Fixed Point Implementation
Replies: 27
Views: 18389

Re: Fixed Point Implementation

Thanks, I'll see how to apply the patch and give you feedback :) I haven't checked out box2D code yet, but having played a lot with fixed point math in the past I have thought about it. I'm not sure how much can be done by patching versus doing a real fork :/ (the problem with a fork being that you ...
by Mollusk
Fri Mar 14, 2008 12:07 am
Forum: General Discussion
Topic: Fixed Point Implementation
Replies: 27
Views: 18389

Re: Fixed Point Implementation

Hi ! Great work on the Fixed point version ! I'm currently doing a quick app on PocketPC, and it runs decently with the floating point version, but obviously I have major slowdowns when too many things enter the screen, so I'll have to move on to the fixed point version of Box2D... The main issue I ...

Go to advanced search