theanine3D / source-engine-collision-tools

Blender addon for generating and optimizing collision models for use in Source Engine
GNU General Public License v3.0
29 stars 1 forks source link

one issue remain its odd #10

Closed demonelectro closed 3 days ago

demonelectro commented 3 days ago

image image image image

demonelectro commented 3 days ago

new blend file with the issue : https://www.mediafire.com/file/z24zbyzjmvpj5x7/Castle_Gothique.blend/file

image

demonelectro commented 3 days ago

image i selected what cause the issue of the physic is not accurate or not allow the player to go inside the tower

demonelectro commented 3 days ago

image

demonelectro commented 3 days ago

image

theanine3D commented 3 days ago

This is not an issue with the addon. Your collision mesh simply has too many hulls. You're not supposed to have more than 32 in a single collision mesh. If you do, the compiler starts merging them together to force the amount to still be 32 or under. When I press Force Convex to count the amount of hulls, I get an enormous amount - over 400 hulls.

image

You will need to either 1) split this up using the Split Up Collision Mesh button. This will divide it into many 32-hull pieces, which then can be added to the VMF automatically with the Update VMF feature.

or 2) clean up the mesh manually, merge hulls together in Edit Mode where appropriate, until you're able to manually get this down to only a much smaller amount of hulls. You may still need to export several different collision meshes instead of just one big one though.

(There is a third, but not recommended, option: the $maxconvexpieces line in the QC file will let you bypass the 32-hull limit. The problem with this method is that it causes the map to lag horribly in online multiplayer games. If your map is just single player then you can do this as a last resort, if the other 2 options seem like too much work.)

demonelectro commented 3 days ago

nothing work i will try to divide and reduce as i can or we will cheat or do something else instead

demonelectro commented 3 days ago

okay update everything work like you said its hull limitation i reduced the decimate ratio its fixed all