Search found 19 matches

by soylomass
Tue Jan 02, 2018 9:50 pm
Forum: General Discussion
Topic: Stuck at world.step
Replies: 7
Views: 84

Re: Stuck at world.step

I want to report that until now it hasn't got stuck once while using SAT. Will keep testing given its randomness, but more time has passed than between previous stuck events.
by soylomass
Tue Dec 26, 2017 12:19 pm
Forum: General Discussion
Topic: Top-down moving platform problem
Replies: 3
Views: 57

Re: Top-down moving platform problem

That could be a solution, but I forgot to say I need the platform to be dynamic, affected by forces. 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...
by soylomass
Tue Dec 26, 2017 12:15 pm
Forum: General Discussion
Topic: Stuck at world.step
Replies: 7
Views: 84

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). By the way, is there a performance lose by using SAT instead of GJK? About the first question, last time was ...
by soylomass
Tue Dec 26, 2017 10:30 am
Forum: General Discussion
Topic: Stuck at world.step
Replies: 7
Views: 84

Re: Stuck at world.step

If I recall correctly no one managed to replicate your results? I think this indicates something in your setup, either some world settings, which isn't likely, or more likely you have some fixture/convex that is special somehow. Just tossing ideas here but maybe some degenerate convex, like 0 area ...
by soylomass
Mon Dec 25, 2017 7:29 pm
Forum: General Discussion
Topic: Stuck at world.step
Replies: 7
Views: 84

Stuck at world.step

Hi again. One year ago I made a post (http://forum.dyn4j.org/viewtopic.php?f=3&t=312) about the engine getting randomly stuck at world.step, because of that problem I had to switch to libgdx-box2d. Now, I'm making a new game, and I decided to use dyn4j because I really like it, among other advan...
by soylomass
Sun Dec 24, 2017 4:06 pm
Forum: General Discussion
Topic: Top-down moving platform problem
Replies: 3
Views: 57

Top-down moving platform problem

Hi, I'm developing a top-down game where player can stand above moving platforms. I've found solutions for this, either by recording an stand anchor relative to the platform and setting the position of the player to it on every step, or using a PinJoint (tried with RopeJoint but didn't go well). The...
by soylomass
Wed Nov 22, 2017 10:48 pm
Forum: General Discussion
Topic: Does dyn4j use multithreading?
Replies: 6
Views: 401

Re: Does dyn4j use multithreading?

Thanks to both of you for your answers. I'll start developing the game using dyn4j, and will report back when I have a working product to make you know how it went. Dividing the game world if many physic worlds is a good idea, I'll just have to trick players into thinking they are "traveling&qu...
by soylomass
Wed Nov 22, 2017 2:53 pm
Forum: General Discussion
Topic: Does dyn4j use multithreading?
Replies: 6
Views: 401

Re: Does dyn4j use multithreading?

No it doesn't. You are going to have a hard time finding a multithreaded physics engine at all because of a variety of problems that are coming with it. Although, Keen Software House is currently working on multithreading Intel's "Havok" engine, you can look up their codebase on GitHub if...
by soylomass
Tue Nov 21, 2017 12:41 pm
Forum: General Discussion
Topic: Does dyn4j use multithreading?
Replies: 6
Views: 401

Does dyn4j use multithreading?

I'm planning to use dyn4j for a multiplayer game, that needs to be scalable, so I wanted to know whether or not dyn4j makes use of multiple threads to do the physics calculation. I've searched and the only related thing I've found is a test on the sandbox called Parallel which says does use multithr...
by soylomass
Sat Nov 19, 2016 8:46 pm
Forum: Bugs, Enhancements, Feedback
Topic: World.update gets stuck
Replies: 15
Views: 4005

Re: World.update gets stuck

So does it ever resume after it hangs or is it stuck forever? Just want to confirm. It's common to see a memory profile like that. I think the default collector tries to do small collections frequently and then large ones every so often. Could be wrong though. Is there anyway you can log certain ke...

Go to advanced search