Search found 378 matches

by William
Fri Jul 06, 2018 10:35 pm
Forum: General Discussion
Topic: Retire Forum in Favor of GitHub Issues
Replies: 0
Views: 93

Retire Forum in Favor of GitHub Issues

I'm toying with the idea of disabling this forum and moving discussion to GitHub issues in an effort to minimize communication paths that I monitor. Some thoughts, in no particular order: ⋅ Most of the sample programs that have been posted I've put into the dyn4j-samples project on GitHub....
by William
Sat Apr 21, 2018 11:32 am
Forum: General Discussion
Topic: When returning false at beginCollision, it's called every step
Replies: 4
Views: 591

Re: When returning false at beginCollision, it's called every step

This change has been included in the 3.3.0 version of dyn4j.

Thanks,
William
by William
Sat Apr 21, 2018 11:30 am
Forum: General Discussion
Topic: ContactListener end() method not getting called when normal body stops overlapping with sensor body
Replies: 3
Views: 371

Re: ContactListener end() method not getting called when normal body stops overlapping with sensor body

This was changed in the 3.3.0 version so that sensed contacts work exactly like normal contacts. See the release notes for more information on the change and it's implications.

Thanks,
William
by William
Sat Apr 21, 2018 11:29 am
Forum: General Discussion
Topic: Bad Performance
Replies: 18
Views: 2890

Re: Bad Performance

The performance improvements tested here were included in the 3.3.0 release.

Thanks,
William
by William
Sat Apr 21, 2018 11:28 am
Forum: General Discussion
Topic: Stuck at world.step
Replies: 15
Views: 1602

Re: Stuck at world.step

This should be fixed in the 3.3.0 version.

Thanks,
William
by William
Sat Mar 31, 2018 2:37 pm
Forum: General Discussion
Topic: Detecting when a player "is on the ground"
Replies: 5
Views: 931

Re: Detecting when a player "is on the ground"

Probably too late, but I updated the SimplePlatformer.java sample program to help illustrate how you might achieve this. Keep in mind that it's just a sample and you'd probably have something more structured.

William
by William
Mon Mar 26, 2018 8:00 pm
Forum: General Discussion
Topic: e=1, behaving as super-elastic collision
Replies: 3
Views: 2918

Re: e=1, behaving as super-elastic collision

Looking at this deeper, here is what is happening: Imagine two bodies, A and B. A is a ball falling and B is a floor. t1 and t2 represent 2 timesteps, one after another. ⋅ t1: A and B velocities are integrated ⋅ t1: Collision resolution (none in this step) ⋅ t1: A and B...
by William
Tue Mar 20, 2018 7:12 pm
Forum: General Discussion
Topic: Stuck at world.step
Replies: 15
Views: 1602

Re: Stuck at world.step

I understand the cause, but I'm looking for a reproduction case so I can test my fix and add a JUnit test for it. If you happen to see this again in debug mode, see if you can .toString() the shapes and transforms. I still haven't been able to produce this problem myself. Either way, the GJK code sh...
by William
Mon Mar 19, 2018 8:09 pm
Forum: General Discussion
Topic: Stuck at world.step
Replies: 15
Views: 1602

Re: Stuck at world.step

Thanks for finding this. Do you have a test case that I could use to reproduce?

I just need the shapes and their transforms to setup a test.

William
by William
Sat Mar 10, 2018 10:15 am
Forum: General Discussion
Topic: Stuck at world.step
Replies: 15
Views: 1602

Re: Stuck at world.step

Any more info on this? Still curious if there's a problem with GJK or if you encountered the problem with SAT (just later)?

William

Go to advanced search