How to add and export collision properly?

Post Reply
Bashaar
Posts: 3
Joined: Wed May 06, 2020 1:22 pm

Thu May 07, 2020 11:15 am

Hello Fellow Beeps!

I would like to add some new functional/residential buildings to the game, but I have problems with adding collision. I've dug through heaps of tutorials, websites, reddits and even contacted some modders, but to no avail. At this point I am able to assign the collision in Blender, but when I export the file and load it in FCS, the collision doesn't work and I can go through the abomiations I've created.

My procedure of adding collision:

I choose a mesh and under Physics Properties I tick Collision, then Rigid Body. As a next step I set type to Active, and then I set collision shape to Mesh and the source to Base. Having set these I export the collision setting objects to Selection and transformation to Parent.

What am I doing wrong? Can you help me?

User avatar
Cattrina
Moderator
Posts: 19
Joined: Tue Apr 14, 2020 5:01 pm

Fri May 08, 2020 6:39 pm

I have not been able to export collisions either. I think the newer version of Blender xml is not compatible with Kenshi. Sorry I am not much help.
"Never make fun of someone mispronouncing a word, that means they learned it by reading"

someone
Developer
Posts: 360
Joined: Fri Aug 23, 2013 6:00 pm
Contact:

Mon May 11, 2020 3:54 pm

Not sure what could be going wrong, but the Blender 2.8 collision export is mostly working. Convex hulls are the only thing currently broken.

I suggest using the collision viewer program from the blender thread to check the files. If you drag both the collision xml file and mesh file for your object at once onto that program window it will display both. Useful for checking if alignment and scale is correct.

Also note that when using the in game editor to place buildings, the navmesh is not updated until that area is reloaded or it is rebuilt manually.

Bashaar
Posts: 3
Joined: Wed May 06, 2020 1:22 pm

Sun May 17, 2020 2:17 pm

Hey!
Thank you form your help, Someone! I've figured out that in addition to lack of navmesh update, I messed the normals in my structure, so the game couldn't get it right. :lol:

Peace!

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 6 guests