Save MOPP code from bvtree?

Save MOPP code from bvtree?

I've been searching and looking at some code snippets and the MOPP demo code but I'm still unsure of how to save and load MOPP code from a hkpBvTreeShape. Any ideas?

3 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.
Havok - Josh S.'s picture

Hi drwbns,

I'm not sure if i understand what you're asking, but you can create a MOPP code from an hkpBvTreeShape using hkpMoppUtility::buildCode( bvTreeShape->getContainer() , input).

Josh S. Havok Developer Support Engineer www.havok.com

I was talking about saving the result of that function, but I found the answer.

Login to leave a comment.