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





  • Posts   Search Threads
  • nomis489November 22, 2008 9: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 12: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

17,025 users have contributed to 48,317 threads and 172,754 posts to date.

In the past 24 hours, we have 9 new thread(s) 56 new posts(s), and 52 new user(s).

In the past 3 days, the most popular thread for everyone has been How to manage rounding by IVF ?? The most posts were made to Most likely, the issue is that The post with the most views is Optimalization of sine function\'s taylor expansion

Please welcome our newest member redfruit83


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