Forum Jump

Select Group :
Select Forum :
Sorted By :
Sort Order :
From The :
 
Thread Tools  Search this thread 
lobuz
Total Points:
10
Registered User
July 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?
havokjasong
Total Points:
1,410
Status Points:
910
Brown Belt
July 13, 2009 11:28 AM PDT
Rate
 
#1
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




Intel Software Network Forums Statistics

8285 users have contributed to 31229 threads and 99107 posts to date.
In the past 24 hours, we have 9 new thread(s) 39 new posts(s), and 55 new user(s).

In the past 3 days, the most popular thread for everyone has been comparison cilk++, openmp, pthreads first results The most posts were made to comparison cilk++, openmp, pthreads first results The post with the most views is Very amusing...  Escalated as

Please welcome our newest member tvinni