Add RigidBody Entity into world from from a .hkt file

Add RigidBody Entity into world from from a .hkt file

Hello,

I have made a Singleton pattern design that initialises HAVOK and does all the work for me.

I can create spheres, boxes etc etc

But I can not create a rigidBody from from a .hkt file

When I try to do that I get debug error.

So my question is:

Is my code wrong or my Item.hkt file I create with Contenet Tools

Here is my code.

P.S: I use Visual Studio 2010, HavokContentTools_2012-1-0_20120817_32Bit_PcXs and Havok_Physics_Animation_2012-1-0_PC_XS_win32_VS2010_noSimd_keycode_perpetual_20120831

My code in pastie:

<script src='http://pastie.org/5438103.js'></script>

Thank you for your time.

http://reallibrary.juplo.com/ Real Library SDK is a C++ toolbox that can create virtual reality worlds.
1 envío / 0 nuevos
Para obtener más información sobre las optimizaciones del compilador, consulte el aviso sobre la optimización.