Jump to content

Static collision mesh problem.


Dragten

Recommended Posts

Problem Solved, feel free to lock/delete

 

 

Good day to you, good people.

I have come to a point in my mod, where I need a static mesh with collision.

So far, I was successful at creating collision meshes for ITEM models (i.e. with physics), by using Convex Shape for bhkRigidBodyModifier.

However, my static model requires a more detailed collision model, so Convex Shape is not suitable.

Strips Shape seems to be best solution for me, but whenever I export the mesh with Strips Shape, 3ds max crashes on me. I can export it with Packed Strips shape, but then the collision is only 10% the size of the model. (I did NOT test to see if it works in game).

 

So tried another approach.

I used bhkCollProxy liked to the mesh, set up for Strips shape and then I got the bhkRigidBody linked to CollProxy.

 

http://img846.imageshack.us/img846/7007/1max.jpg

 

This exports without any problems AND I can see the collision in CK (f4)

http://img26.imageshack.us/img26/6505/1cku.jpg

 

 

However, it does not work as collision. It does not stops objects nor player to go through it.

I tried copying all the data I could from a vanilla static mesh collision, but to no avail.

Here is the data from NIFSkope:

(the last 4 of 7 unknown shorts are set to 0)

http://img341.imageshack.us/img341/9252/42522609.jpg

http://img27.imageshack.us/img27/4792/61682771.jpg

http://img215.imageshack.us/img215/4813/26315450.jpg

 

I could really use some help on this matter.

Thanks in advance.

 

Edited by Dragten
Link to comment
Share on other sites

  • Recently Browsing   0 members

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