Jump to content

Hvok Collision problems


Recommended Posts

Hi,

Is there any way to add working physics to objects so that they will respond to naturally without having to use bhkboxshape or bhkcapsuleshape? I can get both of those to work fine. The problem is that certain objects, such as a barrel or other irregularly shaped objects use either a bhkconvexverticeshape or bhk somethingmoppsomethingtreeshape. I can't get the convexvertex shape to work at all and the tree shape thing always falls through the floor.:wacko: An apple uses a CV shape so it must be possible, but I have no idea how to create a workable NEW CV shape so that it will match the object I need. I do not know how to create the vertex information matrix for it.

 

I'm happy to stick with the tree/mopp shape if I can get it to stop falling through the floor.

 

Any suggestions? Is there a better place to post this? I've scoured the forums and other sites for info, but no luck.

Thanks for the help.

Link to comment
Share on other sites

LHammonds has a convex collision tutorial (it's for a shield, but the concept is the same basically for everything)

. It may help. (It's worked well for me so far.)

 

 

Thank you! I'll give it a try.

Link to comment
Share on other sites

  • 5 weeks later...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...