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





  • Posts   Search Threads
  • lobuzJuly 8, 2009 3:40 AM PDT   
    How to make hkpWheelConstraintData from hkpConstraintInstance

    Hi
    I have no ideas how create hkpWheelConstraintData from hkpConstraintInstance imported from *.hkx file. I create simulate of mobile robo with arm, I create model in 3d studio and trying to move it in havokworld.
    Could you help me?


    havokjasongJuly 13, 2009 11:28 AM PDT
    Rate
     
    Re: How to make hkpWheelConstraintData from hkpConstraintInstance

    hi lobuz,

    You're going to want to read the section in the docs about constraints (Havok Physics/Havok Dynamics/Constraints).  It will explain what a constraint instance is.  Essentially, they are instances created from a, possibly shared, hkpConstraintData.  The hkpConstraintInstance you are seeing may indeed be from the hkpWheelConstraintData.  You can figure this out by calling hkpConstraintInstance->getData()->getType().  You'll notice that CONSTRAINT_TYPE_WHEEL is one of the types listed in hkpConstraintData.h

    Let me know if that helps,
    Jason G.


    Jason Gorski
    Developer Support Engineer
    Havok™
    2008 Emmy Award Winner
    \"Turning Creative Aspirations into Technical Realities™\"
    www.havok.com

Forum jump:  

Intel Software Network Forums Statistics

16,366 users have contributed to 46,338 threads and 163,921 posts to date.

In the past 24 hours, we have 26 new thread(s) 148 new posts(s), and 84 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 dozo1971


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