Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I have got a problem, because I wan't to add collision detection to my 3d game, which I am developing in Java, using the Lightweight Java Game Library (LWJGL). I have googled a bit, and I have found this interesting library, called JBullet, which is a port of Bullet for C/C++. But I can't find any tutorials covering, how to add collision detection to my 3d shapes in LWJGL. Is there any simple way to do it, or please direct me to a tutorial, covering that topic.

share|improve this question

closed as not constructive by Byte56, Josh Petrie, Anko, Nicol Bolas, bummzack Jun 7 '13 at 8:47

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.

    
Keep in mind that physics and graphics are not related; how you draw a mesh has nothing to do with how you will do your collision (which often will be a simpler geometric shape), generally. It might be easier to find what you're looking for if you stop worrying about LWJGL specifically and just look for docs on JBullet alone. –  Sean Middleditch May 30 '13 at 0:23
add comment

1 Answer 1

The library comes with examples of how to use it. All of the source code for the webstart examples comes with the library.

There's also a tutorials section in the wiki page for jBullet.

Further, most of the tutorials for the c++ version are applicable to the Java port. You will just need to modify the class and function names to work with the Java syntax and naming conventions.

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.