BadDogSkyrim / PyNifly

Export/Import tools between Blender and the Nif format, using Bodyslide/Outfit Studio's Nifly layer. Supports Skyrim LE, Skyrim SE, Fallout 4, Fallout New Vegas, Fallout 76, and Fallout 3.
GNU General Public License v3.0
179 stars 16 forks source link

Collisions are always imported as empty #128

Open HeinrichGuil opened 2 years ago

HeinrichGuil commented 2 years ago

Kinda frustrating. Parenting bhkRigidBody to custom mesh named bhkCollisionObject does not translate into ingame collision too.

BadDogSkyrim commented 2 years ago

should be bhkCollisionObject -> bhkRigidBody -> mesh, where the name of the mesh indicates the type of collision.

Importing an existing mesh that is similar to the one you're trying to create will show you the structure you need.

If you can't get it to work send me the blend file and i'll have a look.

HeinrichGuil commented 2 years ago

I've looked at it more carefully and now I see on the wiki page that only bhkBoxShape and bhkConvexVerticesShape are supported, which renders using addon for statics quite hard. Hoping for the full collision support in future versions. thank you for your great work/

BadDogSkyrim commented 2 years ago

And bhkCapsuleShape. And you can make more complex shapes with bhkListShape. But yes, I'd like to support MOPP as well.