Havok importing convex hulls
I'm spent like 10 hours on this, please can somebody help.
I'm using Havok to import a .hkx convex hull by using the following code:
hkLoader loader;
hkRootLevelContainer* container = loader.load("hull1.hkx");
That's all good, but how do I actually use "container"? How do I get the information I need from "container" so I can use the data?
In the Havok manual, I need to do this to create a convex hull shape. The data I need to extract from container is the paramter "stridedVerts".
ThkpConvexVerticesShape* pShape = new hkpConvexVerticesShape(stridedVerts, dummyPlaneEquations);
Please help, or else I will fail my uni subject >.<
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement