Author Topic: Custom collision for blbs  (Read 621 times)

How do I make a custom collision for my blbs?  I made a staircase, but it will either have a cube collision covering the entire blb, or no collision at all.

Create a simplified version of your brick (no textures etc.) in a modelling program and export it as a dts. The scale depends on which one you use, it'll be somewhere close to half a unit in the editor being a brick width in-game and .6 units a brick height.

Look at Brick_Arch for how to set the model as the collision file.

Or just make each step it's own cube, then click on all of those cubes, weld/connect them, then they are one!

I didn't know this before but if your brick is made of cubes and cuboids only, you can define a set of collision meshes in the BLB file.

http://wiki.returntoblockland.com/index.php?title=Special_Bricks

I didn't know this before but if your brick is made of cubes and cuboids only, you can define a set of collision meshes in the BLB file.

http://wiki.returntoblockland.com/index.php?title=Special_Bricks
That's only if it's one. You can only make one box for a collision that way. An example of a brick that uses this is the spawn brick. One flat collision box, while the brick is taller than a player, without using .dts collision.

Quote
And for multiple meshes (like the 3x1x7 wall) you'd see something like this:

Code: [Select]
4

0 0 -4.5
3 1 9

0 0 6.5
3 1 5

-1.5 0 0
1 1 12

1.5 0 0
1 1 12