Loading...
You are not logged-in Login/Register





  • Posts   Search Threads
  • nomis489November 22, 2008 10:11 AM PST   
    Problems loading hkpRigidBody from .hkx file

     

    I've just started working with Havok and I have set my world and manually added objects. This is working fine however when I come to load a rigid body from an hkx file my program crashes and Havok outputs the following error message:

    .PackfilehkPackfileData.cpp(147): [0x4A45F946] Assert : typeInfo != HK_NULL

    Found unregistered type 'hkpMoppCode'.

    I'm using the WorldSnapshotDemo as the basis for loading this file, which manages load OK so I can probably assume the file itself is OK. 

    Any help is appreciated.

     

    Regards,

    Simon



    nomis489November 22, 2008 1:16 PM PST
    Rate
     
    Re: Problems loading hkpRigidBody from .hkx file

    For anyone else that might have this problem, the soluton was changing:

    #define HK_CLASSES_FILE <Common/Serialize/Classlist/hkCommonClasses.h>
    #include <Common/Serialize/Util/hkBuiltinTypeRegistry.cxx>
    to
    #define INCLUDE_HAVOK_PHYSICS_CLASSES
    #define HK_CLASSES_FILE <Common/Serialize/ClassList/hkClasses.h>
    #include <Common/Serialize/Util/hkBuiltinTypeRegistry.cxx>


Forum jump:  

Intel Software Network Forums Statistics

16,373 users have contributed to 46,347 threads and 163,994 posts to date.

In the past 24 hours, we have 12 new thread(s) 87 new posts(s), and 61 new user(s).

In the past 3 days, the most popular thread for everyone has been Formula for the intersection of straight lines The most posts were made to Take a look at John Burkhard&# The post with the most views is \"-check none\" generates error

Please welcome our newest member claudepi


For more complete information about compiler optimizations, see our Optimization Notice.