Author Topic: problem with bounds , collision on my brick  (Read 1492 times)

I cant hammered , wanded my brick in game it stuck like this

it has no line on the bounds
How to fix this problem?
« Last Edit: July 23, 2013, 12:58:17 PM by master king deaddude »

Okay so you want us to debug a complex script problem by looking at a screenshot that shows a red brick. I'll let you figure out what's wrong here.

A few problems. Here's the top part of your .BLB.
Quote
2 1 3
SPECIAL

uu
xx
dd

1

0.000000 0.000000 0.000000
0.000000 0.000000 0.000000
COVERAGE:
0 : 2
0 : 2
0 : 6
0 : 3
0 : 6
0 : 3

See that lone number 1? That means that there is 1 collision box. The two rows of numbers below define the bounds of this collision box. Except they're all zeros. Which means your collision box doesn't exist. All tools in Blockland require a collision box to function. Your brick has none so you can't interact with it in any way.

In the coverage part the number on the left means hide (1) or do not hide (0). The number on the right is the number of studs/plates required to hide the faces. Currently your coverage is set up correctly and your quads are sorted, but nothing is being hidden because the left number is 0.

A few problems. Here's the top part of your .BLB.
See that lone number 1? That means that there is 1 collision box. The two rows of numbers below define the bounds of this collision box. Except they're all zeros. Which means your collision box doesn't exist. All tools in Blockland require a collision box to function. Your brick has none so you can't interact with it in any way.

In the coverage part the number on the left means hide (1) or do not hide (0). The number on the right is the number of studs/plates required to hide the faces. Currently your coverage is set up correctly and your quads are sorted, but nothing is being hidden because the left number is 0.

Should I change the number on 2 of 0.000000 0.000000 0.000000 to one?
EDIT: I changed it and test it and no collision,bound at all.
« Last Edit: July 23, 2013, 04:31:03 PM by master king deaddude »

Should I change the number on all zero to one?
No. That would still mean your collision box consists of a single point in space which is not valid as a point has no volume.

You need to learn to export a collision model correctly from MilkShape.

oh here a picture of that model in Milkshape
« Last Edit: July 23, 2013, 04:37:50 PM by master king deaddude »

No. That would still mean your collision box consists of a single point in space which is not valid as a point has no volume.

You need to learn to export a collision model correctly from MilkShape.
Do I need export new collision model from Milkshape?

The collision model is fine. It is just not being exported correctly. I can't help you any more than that since I don't use MilkShape.


what about Blender?
I would highly suggest picking up General's Obj2Blb and fully read the included documentation twice.

I would highly suggest picking up General's Obj2Blb and fully read the included documentation twice.
I send General a email for General's Obj2Blb and General sended me a link to download it and i got it.