Friday, August 7, 2015

A Real Object Needs Real Collision

Finally got a real looking object into my application! It's a lovely farmhouse with two steps and no interior, but an actual object nonetheless that works very well with fog. Problem is, I'm no longer working with a simple box nor sphere for collision; I need a full on mesh collider. Luckily, bullet has one in the form of a btBvhTriangleMeshShape, but I'm currently working out the details on what the mesh needs exactly in order not to give 0x00000000 exceptions. I'll have more details and a full picture once I get the thing working.


No comments:

Post a Comment