Search found 11 matches

by SemiSober
Fri Feb 06, 2015 3:28 pm
Forum: General Discussion
Topic: new website
Replies: 3
Views: 1609

Re: new website

Congrats for new website theme.
i have a question, what does "dyn4j" mean ? :?:
by SemiSober
Thu Oct 23, 2014 7:55 pm
Forum: Behind The Scenes
Topic: How does the block solver work?
Replies: 2
Views: 4375

Re: How does the block solver work?

Good. thank you so much bro=;
by SemiSober
Wed Oct 22, 2014 5:17 pm
Forum: Behind The Scenes
Topic: How does the block solver work?
Replies: 2
Views: 4375

How does the block solver work?

i do not understand the contact solver when two contact point come in, why should we compute K-Matrix and what is maxCondition ? how does it work ?
can you provide me an explanation or paper about that?

thanks
by SemiSober
Thu Sep 25, 2014 9:46 am
Forum: Behind The Scenes
Topic: DynamicAABBTree: about internal nodes.
Replies: 7
Views: 5103

Re: DynamicAABBTree: about internal nodes.

i commented that line and traced the value of right child in different situation, the value was only 'false' in all situation. if (n == n.parent.left) { // it is, so check if the right node is non-null //if (n.parent.right != null) { // System.out.println(n.parent.right == null); // it isn't so the ...
by SemiSober
Wed Sep 24, 2014 10:36 am
Forum: Behind The Scenes
Topic: DynamicAABBTree: about internal nodes.
Replies: 7
Views: 5103

Re: DynamicAABBTree: about internal nodes.

i am confused, can you present a picture of scene related to this tree :
Image
by SemiSober
Wed Sep 24, 2014 6:56 am
Forum: Behind The Scenes
Topic: DynamicAABBTree: about internal nodes.
Replies: 7
Views: 5103

Re: DynamicAABBTree: about internal nodes.

thank you for reply, i exactly know what the function do, my question is here : Why do you assume this situation(the image you have given, node 4 which has just one child) of tree ? How can a AABB tree, which is a Complete Tree be constructed like this? assume these objects: http://forum.dyn4j.org/d...
by SemiSober
Tue Sep 23, 2014 1:54 pm
Forum: Behind The Scenes
Topic: DynamicAABBTree: about internal nodes.
Replies: 7
Views: 5103

DynamicAABBTree: about internal nodes.

Hi, i took a look at dyn4j implementation of dynamic AABB tree, the DynamicAABBTree class, i am confused by this piece of code : while (n.parent != null) { // check if the current node the left child of its parent if (n == n.parent.left) { // it is, so check if the right node is non-null if (n.paren...
by SemiSober
Fri Apr 25, 2014 12:48 am
Forum: Behind The Scenes
Topic: Sap: why does it use triangular matrix ?
Replies: 2
Views: 3751

Re: Sap: why does it use triangular matrix ?

Thanks, i think i got it now :roll:
by SemiSober
Thu Apr 24, 2014 2:43 pm
Forum: Behind The Scenes
Topic: Sap: why does it use triangular matrix ?
Replies: 2
Views: 3751

Sap: why does it use triangular matrix ?

Hi, in line 186 of this code file : https://code.google.com/p/dyn4j/source/browse/tags/1.0.3/src/org/dyn4j/game2d/collision/broadphase/Sap.java it uses triangular matrix, why can't we use HashTable instead of that? i can't understand these lines : if (current.id > test.id) { matrix[test.id + (curren...
by SemiSober
Wed Apr 23, 2014 6:36 am
Forum: Behind The Scenes
Topic: looking for dyn4j-v1 source code
Replies: 2
Views: 2283

Re: looking for dyn4j-v1 source code

Thank you bro =;

Go to advanced search