Blockland Forums > Suggestions & Requests
Brick Collision Model
<< < (3/3)
Demian:

--- Quote from: jes00 on December 20, 2012, 08:35:39 PM ---): No. I need a DTS model in the shape of the brick.

--- End quote ---
No you don't. In fact you could just write the collision coordinates right into the BLB. It's not that difficult.
jes00:

--- Quote from: Demian on December 21, 2012, 07:00:14 AM ---No you don't. In fact you could just write the collision coordinates right into the BLB. It's not that difficult.

--- End quote ---
I thought if the collision was not a cube than you needed a model. : /

Were would I write that? In the coverage or something?
Demian:

--- Quote from: jes00 on December 21, 2012, 07:14:35 AM ---I thought if the collision was not a cube than you needed a model. : /

Were would I write that? In the coverage or something?

--- End quote ---
You can make the collision for that brick using 7 cuboids. Here's an example of a 1x1x1 collision.


--- Code: ---1 1 3
SPECIAL

u
x
d

1

0 0 0
1 1 3
COVERAGE:
0 : 99
0 : 99
0 : 99
0 : 99
0 : 99
0 : 99
--- End code ---
jes00:

--- Quote from: Demian on December 21, 2012, 07:52:46 AM ---You can make the collision for that brick using 7 cuboids. Here's an example of a 1x1x1 collision.


--- Code: ---1 1 3
SPECIAL

u
x
d

1

0 0 0
1 1 3
COVERAGE:
0 : 99
0 : 99
0 : 99
0 : 99
0 : 99
0 : 99
--- End code ---

--- End quote ---
That's cool. So for this:

--- Code: ---0 0 0
1 1 3

--- End code ---
It's 0 for X and 0 for Y and 0 for height?
     1               1              3

EDIT: Cool. I learned something new about making bricks today :)
Demian:
It's YXZ. 3 wide, 1 deep and 2 plates tall would be.

--- Code: ---1

0 0 0
1 3 2
--- End code ---
Navigation
Message Index
Previous page

Go to full version