Search found 358 matches

by William
Mon Jan 08, 2018 10:22 pm
Forum: General Discussion
Topic: Stuck at world.step
Replies: 7
Views: 121

Re: Stuck at world.step

soylomass wrote:I want to report that until now it hasn't got stuck once while using SAT.

That is good news.

soylomass wrote:Will keep testing given its randomness,

Please do, I'm very interested in fixing this issue.

William
by William
Mon Jan 08, 2018 10:20 pm
Forum: General Discussion
Topic: Bad Performance
Replies: 15
Views: 637

Re: Bad Performance

Yes. The changes I made for rc2 are checked into the master branch in github.

x34 wrote:Android Studio has major problems processing JDK9 you compiled this jar with.

That's good to know - I will take a look at this.

William
by William
Tue Dec 26, 2017 9:08 pm
Forum: General Discussion
Topic: Top-down moving platform problem
Replies: 3
Views: 68

Re: Top-down moving platform problem

For now, I've solved it by making the welded bodies LINEAR_FIXED and setting their linear velocities to the linear velocity of the points they are fixed to (correcting it's position over time). I don't know how performant it will be when there are a lot of bodies though. No problem. As for performa...
by William
Tue Dec 26, 2017 8:55 pm
Forum: General Discussion
Topic: Stuck at world.step
Replies: 7
Views: 121

Re: Stuck at world.step

Will try to do what you asked and answer your questions as soon as it gets stuck again (if it does, because I changed to SAT, and even if it does it may take a time, as it's totally random). About the first question, last time was the firs time I debugged inside this.detect(); But I can affirm that...
by William
Tue Dec 26, 2017 10:57 am
Forum: General Discussion
Topic: Stuck at world.step
Replies: 7
Views: 121

Re: Stuck at world.step

This time the bodies are all boxes and circles, and some of the boxes (platforms) are weldjointed one at the side of the other, forming a bigger platform (1x2, 2x2, etc). The only thing that might not be right is that the welded platforms are not overlapping, and the weld point is only on one of th...
by William
Tue Dec 26, 2017 10:48 am
Forum: General Discussion
Topic: Top-down moving platform problem
Replies: 3
Views: 68

Re: Top-down moving platform problem

I don't think I fully understand the problem, but let me try my best: Is there any solution? Is there any way to make that forces applied to welded bodies don't affect the platform? So you want collisions with the welded bodies, but you don't want the collisions to affect the platform body? They gre...
by William
Fri Dec 22, 2017 8:15 pm
Forum: General Discussion
Topic: Change the size of a shape after creation.
Replies: 1
Views: 48

Re: Change the size of a shape after creation.

Generally speaking, no. If the shape needs to change, you'd typically remove the fixture and add a new one. Can you explain what you are looking to accomplish?

William
by William
Sun Dec 17, 2017 4:55 pm
Forum: General Discussion
Topic: Dyn2d a JavaFX rendering engine with physics
Replies: 2
Views: 160

Re: Dyn2d a JavaFX rendering engine with physics

Nice work. I didn't examine any code, but be careful not to use pixel units, that could be why things are falling so slowly.

Just a heads up, the youtube video link is broken, but the video on your site seems to work.
by William
Sun Dec 17, 2017 4:51 pm
Forum: General Discussion
Topic: Bad Performance
Replies: 15
Views: 637

Re: Bad Performance

Thank you for the analysis and sorry for getting back to this late. I've made a few very small changes to see if the time in the isStatic method is due to the logic contained therein or due to the function calls and it not being natively compiled/inlined. Can you give it a try when you get a chance?...
by William
Wed Nov 22, 2017 10:24 pm
Forum: General Discussion
Topic: Bad Performance
Replies: 15
Views: 637

Re: Bad Performance

OP - have you had chance to test these changes or to test with Android 8?

Thanks,
William

Go to advanced search