asafbibas / jmonkeyengine

Automatically exported from code.google.com/p/jmonkeyengine
0 stars 0 forks source link

jME3 bullet native GhostControl: overlapping-objects issue #457

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a GhostControl and n RigidBodies that overlap the ghostcontrol
2. check ghost.getOverlappingObjects()
3. (use the attached test-case)

What is the expected output? What do you see instead?
The rigidbodies should be in the ghost.getOverlappingObjects()-resultlist but 
the ghostobject is added for each positive overlapping-test

Patch is attached.

Original issue reported on code.google.com by thomas.t...@googlemail.com on 26 Jan 2012 at 1:02

Attachments:

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r9113.

Original comment by normen667 on 26 Jan 2012 at 3:39

GoogleCodeExporter commented 8 years ago
Actually it seems that the overlapping objects might be in pProxy0 or pProxy1. 
So before we add the overlapping object we have to check if it is != the ghost 
itself. As I don't know exactly how to handle this on the c++ side (where it 
should be done) I created a quick fix for the jave-side

Original comment by thomas.t...@googlemail.com on 2 Feb 2012 at 7:57

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by ShadowIs...@gmail.com on 1 Jun 2012 at 10:43

GoogleCodeExporter commented 8 years ago

Original comment by normen667 on 3 Jun 2012 at 1:16