6
\$\begingroup\$

The problem is that I'm trying to use my meshes with Bullet Physics for the collision part of my game.

When I attempted doing this method with my GLM(model loading library by nate robins) model, I get a segmentation fault in the debug, so I figured that it doesnt like the coordinate variables of the model.

If i use blender to export my model as a collision file, what type of file should I use?

I have heard of a .bullet exporter, but i dont know hot to integrate this python script into my Blender 2.5 program.

\$\endgroup\$
4
  • \$\begingroup\$ 'bullet physics' are also called 'external ballistics' en.wikipedia.org/wiki/External_ballistics \$\endgroup\$
    – Rudie
    Apr 20 '11 at 13:21
  • 6
    \$\begingroup\$ Heh. I think he's referring to the Bullet Physics engine bulletphysics.org/wordpress \$\endgroup\$ Apr 20 '11 at 15:06
  • \$\begingroup\$ oh sorry, i forgot that part, its the Bullet Physics engine \$\endgroup\$
    – Molmasepic
    Apr 20 '11 at 20:32
  • \$\begingroup\$ I am suspicious that the bullet api is being used improperly, post code and I'll check it out. \$\endgroup\$
    – MickLH
    Aug 13 '13 at 6:08
1
\$\begingroup\$

If it's segfaulting there's a bug in the library. Open a bug report and send them a reproducible test case.

\$\endgroup\$
5
  • \$\begingroup\$ so theres a bug in the bullet physics library? odd.... \$\endgroup\$
    – Molmasepic
    Apr 20 '11 at 20:31
  • \$\begingroup\$ Based on what you've said there's a bug in the bullet physics engine. It's possible that one of us is misinterpreting something and the bug is actually in the model loading library. Either way, something is segfaulting rather than detecting an error and handling it gracefully. Not good in release mode (although I'm sure some game devs would argue that speed is more important); unacceptable in debug mode. \$\endgroup\$ Apr 20 '11 at 20:59
  • \$\begingroup\$ alright, hmm...i guess ill try another way.. but about the .bullet export thing, is that possible? also my current Blender version is 2.57(im not ultimately used to the interface, yet) \$\endgroup\$
    – Molmasepic
    Apr 20 '11 at 22:17
  • \$\begingroup\$ I never got the hang of the Blender interface. Sorry, can't help there. \$\endgroup\$ Apr 20 '11 at 22:40
  • \$\begingroup\$ alright, well i got the .bullet file exported, now im wondering how i would use it in my c++ game via bullet? \$\endgroup\$
    – Molmasepic
    Apr 21 '11 at 0:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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