richarddlu / jmonkeyengine

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

TerrainQuad has wrong overlapping with GhostControl #644

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I’m throwing a Ghost controller to a solid TerrainQuad and I want to detect 
the collision when it actually hit the ground.

But instead, it looks like the TerrainQuad is overlapped when the Ghost 
overlaps the TerrainQuad’s bounding box.

Try this:

http://pastebin.com/3JuiwzfH

When you click the mouse, you should get instantly get the collision, unless 
you are at the top of the highest mountain…

I’ve tested with jBullet and native Bullet.

The documentation samples uses ray casting for checking collision and are 
unaffected by this bug.

Original issue reported on code.google.com by michelem...@gmail.com on 18 Jul 2014 at 9:21