Author Topic: .dts collision on bricks doesn't fully work [FIXED]  (Read 1157 times)

I have a .blb brick with a non-cuboid collision shape so I made the collision in .dts thanks to tutorials given by Demian.
My player can walk on the collision just fine, and so do other bots or the horse or any non-physical vehicle.
The issues are:
The brick does not receive projectiles, you can't hammer it, you can't wrench it, you can't paint it.
Physics vehicles have no collision with it.






I have fixed the issue thanks to Barnabas.
There are two things you can try:
-Split every mesh from the object to another object. If you have them in the same object, go into verticle mode, select all verticles, press P and select Loose. Afterwards rename each one of them Col0 Col1 Col2 Coln.
-Select objects and press F9, afterwards press Double-Sided Faces so it's unselected..
« Last Edit: February 09, 2014, 03:04:10 PM by LeetZero »

Can you show us the model of your collision mesh?

Also, check whether the file paths and file names in the .cs file are valid.
« Last Edit: February 09, 2014, 08:47:57 AM by Barnabas »

Can you show us the model of your collision mesh?

Also, check whether the file paths and file names in the .cs file are valid.

The brick itself has collision as otherwise my player wouldn't collide with it or be able to climb the sidewalk. The file paths and the names in .cs are valid.
Also,

At the beginning that is not a plane, that's a flattened cube. I'll fix it and try again before you say anything but I doubt it will do anything good. Apparently I had 2 of those, along the actual shape.. Anyway, removed them. No effect.
« Last Edit: February 09, 2014, 09:08:58 AM by LeetZero »

I see, those meshes are within the same object. You need to break each convex bit into one object. Also, make sure the selected layer in the exporter is corresponding with the actual layer the objects are on.

If I guessed it right, you need to split your collision mesh into 5 objects.
« Last Edit: February 09, 2014, 09:37:12 AM by Barnabas »

I see, those meshes are within the same object. You need to break each convex bit into one object. Also, make sure the selected layer in the exporter is corresponding with the actual layer the objects are on.

If I guessed it right, you need to split your collision mesh into 5 objects.
It's still broken as is. Nothing changed.

Can you send me the files? I'd like to take a look

Can you send me the files? I'd like to take a look
Get on Steam if you don't mind. We could talk easier there.
Outside of that, should I send you the whole brick or only the collision model?

Thanks to Barnabas for the fix. Updated in OP.
« Last Edit: February 09, 2014, 03:02:08 PM by LeetZero »