## Search found 63 matches

Wed Mar 21, 2018 9:27 am
Forum: General Discussion
Topic: e=1, behaving as super-elastic collision
Replies: 3
Views: 3430

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

Sorry to revive the old topic again.. This is due to floating point precision and the iterative nature of the collision resolution solver. Changing the restitution to 0.98 makes the last circle act as if it has a restitution of 1.0. IMHO his seems to be incorrect explanation, since it is gravity rat...
Tue Mar 20, 2018 1:36 am
Forum: General Discussion
Topic: Stuck at world.step
Replies: 15
Views: 4093

### Re: Stuck at world.step

It is very difficult to reproduce it on demand since the culprit for the bug is floating point precision. what i got in debug>> simplex.get(simplex.size() - 1).dot(d) returns double value of order 10e-16 while we are comparing it with 0.0, thats why it gets stuck. BTW the test case (stucks in approx...
Mon Mar 19, 2018 9:31 am
Forum: General Discussion
Topic: Stuck at world.step
Replies: 15
Views: 4093

### Re: Stuck at world.step

The very similar problem consumed almost half of my day. Finally I got the source for the problem (the stuck in loop) in org.dyn4j.collision.narrowphase.Gjk class in this function protected boolean detect(MinkowskiSum ms, List<Vector2> simplex, Vector2 d) { // check for a zero direction vector if (d...
Sun Oct 15, 2017 7:47 am
Forum: General Discussion
Topic: Mass to restrict motion in one direction
Replies: 2
Views: 1231

### Re: Mass to restrict motion in one direction

Thanks William .. I am trying to create a body which is allowed to move vertically or horizontally (predefined directions) . For example if body can move in vertical direction only, no effect of forces/impulses should be experienced in horizontal direction, BTW body is free to rotate about center. C...
Fri Oct 13, 2017 2:12 am
Forum: General Discussion
Topic: Mass to restrict motion in one direction
Replies: 2
Views: 1231

### Mass to restrict motion in one direction

What should be that best way to restrict motion of body in particular direction only, I am thinking of two possible solutions.. 1. Create new joint (kind of prismatic joint with upper limit set to infinite, other end remains fixed on ground) 2. Create new MassType having infinite mass in direction p...
Sun Mar 26, 2017 2:12 pm
Forum: General Discussion
Topic: Evaluation Version of SimPHY: The physics smulator
Replies: 2
Views: 1665

### Re: Evaluation Version of SimPHY: The physics smulator

Installed SSL Certificate on website

Visit (you must be logged in, you can use john as username and john as password if do not want to be a member)

Code: Select all

`java -jar simphy.jar`
Sun Mar 26, 2017 9:32 am
Forum: General Discussion
Topic: Evaluation Version of SimPHY: The physics smulator
Replies: 2
Views: 1665

### Evaluation Version of SimPHY: The physics smulator

I am very glad to share SimPHY : the physics simulator based on dyn4j with you , all the members of dyn4j forum. I was working on the projects since late 2013, and now I have something to show. http://simphy.com/wp-content/uploads/2017/01/simphy5.5_screenshot-1030x473.png The main aim for the projec...
Mon Feb 06, 2017 9:44 am
Forum: General Discussion
Topic: Snake Simulation using dyn4j
Replies: 2
Views: 1776

### Snake Simulation using dyn4j

Posting after a big time lapse.. While performing stability checks for Physics simulator [SimPHY], I thought of simulating snake's motion by adding multiple bodies using revolute joint supported by pair of damped springs. The result was amazing, joints behaved very much like vertebrates and setting ...
Thu Jun 23, 2016 4:46 am
Forum: Bugs, Enhancements, Feedback
Topic: Ghost vertices Implementation in dyn4j?
Replies: 16
Views: 7994

### Re: Ghost vertices Implementation in dyn4j?

Hi Willam, I went through few tests for the new Link Shape and the results are extremely satisfactory. Actually this is exactly what I did, when I tried implementing edge shape (except one bug in my implementation that was measure cause of jerk). I couldn't create any jerk condition so far using 3.2...
Wed Jun 22, 2016 2:42 pm
Forum: Bugs, Enhancements, Feedback
Topic: Ghost vertices Implementation in dyn4j?
Replies: 16
Views: 7994

### Re: Ghost vertices Implementation in dyn4j?

I will test tomorrow and send feedback