STEAM GROUP
Blender Source Tools BleST
STEAM GROUP
Blender Source Tools BleST
275
IN-GAME
1,708
ONLINE
Founded
8 November, 2013
All Discussions > Help > Topic Details
Dr. Boomer 5 May, 2024 @ 7:52am
need help with collisions
so i made a big building (just parking building) and after i was done with everything like textures, model etc. new problem arrived, i just copied the model of builing to make a collision basicly its just lots of squares.
after i added it in a game it had just big cube collision and i weren't able to go inside building.
how can i fix this?

https://imgur.com/0pC3o2H
https://imgur.com/a/spXkfLq
< >
Showing 1-6 of 6 comments
xdshot 5 May, 2024 @ 9:08am 
$concave keyword for collisionmodel, but you better make separate convex parts to different prop models
Dr. Boomer 5 May, 2024 @ 9:16am 
$staticprop
$modelname "afghanistanmodels/testmodel"
$scale "4.000000"
$body "Body" "testmodel"
$cdmaterials "models/afghanistanmodels/"
$sequence idle "testmodel"
$surfaceprop "concrete"
$collisionmodel "collision" {
$automass
$concave
}

I have concave but it's not helping(
Dr. Boomer 6 May, 2024 @ 3:36am 
I still dont know what im doing wrong, I tried to make model smaller or split it in a half, but same square collision, is there a chance that this is happening cuz I didnt configure everything properly in blender?
Blue 8 May, 2024 @ 11:57am 
try adding
$maxconvexpieces 50 (or some even bigger number)


by default, the limit of individual pieces a collision model has is 20, and if there are more than that, then it just falls back to shrinkwrapping the mesh as one big convex piece.. but that can be overridden to be significantly more.
Last edited by Blue; 8 May, 2024 @ 11:58am
Dr. Boomer 9 May, 2024 @ 7:27am 
This comment is awaiting analysis by our automated content check system. It will be temporarily hidden until we verify that it does not contain harmful content (e.g. links to websites that attempt to steal information).
Dr. Boomer 13 May, 2024 @ 4:10am 
I fixed this collision problem, i just added thickness to every face in blender and it worked:p
< >
Showing 1-6 of 6 comments
Per page: 1530 50

All Discussions > Help > Topic Details