TyburnKetch Posted September 20, 2022 Posted September 20, 2022 I am currently using a couple of meshes that, for one reason or another, do not have collision. I can create collision boxes, for the most part, that can act as the meshes collision, however I can not find the right layer to stop the camera from moving through the mesh. Or clipping as it were. I have stolen collision from another mesh and I am currently using that as an invisible collision solution. This does stop the camera, but it is not a very elegant solution. I have tried numerous layer options on a collision primitive but none seem to stop the camera like a collision used from another mesh does. Am I missing something? Is there a layer I can choose on the primitive tab that would do what I need? Or do I have to add invisible static meshes to everywhere I do not want the camera to clip through? Thanks in advance.
greyday01 Posted September 21, 2022 Posted September 21, 2022 You might try in NifSkope open your nif. If there is a bhkCollisionObject already select it - block-remove branch.Select a Nitrishape in your nif that sort of outlines where you want the collision to go - Havok - Create Convex Shape. Keep default values. OK.If show collision is turned on at the top you should see the collision as red lines around your shape.There now should be a bhkCollisionObject at the bottom.Then you MUST Spells - Sanitize - Reorder Blocks. That moves that block back up where it should be. This seems to work for simple non-moving statics like a crate whose proportions you changed and want the collision to match..
TyburnKetch Posted September 21, 2022 Author Posted September 21, 2022 Thank you very much for this! I searched a while ago about creating basic collision in nifscope, but I missed this info. Took me a while to work out I needed to convert BS to NI to find the havoc setting (I used I nice little application called nifopt) but now I have, and converted back, my custom mesh now has collision. Thanks again.
Recommended Posts