Author Topic: How to Properly Package an .obj  (Read 1799 times)

Ive been fooling around with the Obj to Blb Converter and I just can't figure out how to properly create the object file so that the brick works correctly. I got it far enough to show up in my brick menu, but planting it comes up with nothing but an invisible solid object.

I know that the collision and the visual data must be present, but under what circumstances I haven't a clue. From my vague understanding they need to be in the same .obj file. Seems I got the collision data to work, but not the visual.

I'm running Milkshape if that information helps.

Make objects that the player shall collide to, name it collision1 collision2 etc (These may not be complex shapes)
Make an object that the player shall see, name it blah
Make an object that defines the size of the brick, name it bounds
Select them and export to obj

Okay, so from the models, there are three files that specify each visual, bounds, and collision that all need to be exported into the same object file?

If so, how do I go about exporting three files into the same .obj?
Can each section be in the same model?

YOu put all 3 objects in the same scene select them and hit export

I'm sorry. Same scene?

Is that like selecting the three files where they were saved then exporting them?
Seems I just don't understand the exporting procedure..

WHy the hell do you have the 3 shapes in 3 different files?

Name the groups. Just god damn name the groups. It's literally the first thing you learn.

Name the groups. Just god damn name the groups. It's literally the first thing you learn.

Well okay. So in the model there are three groups named bounds, collision, and whatever at the same time.
Okay okay, that makes sense. Sorry for misunderstanding directions the first time.
I'll retry when I get home and report back.

Okay, my brick shows up in game but the collision box I set is not solid from one side and the collision and bounding box are visible.

How do I hide the collision/bounding box?

Oh hold on. Never mind. Apparently the Collision and Bounding boxes I set dont matter at all. The brick does it's own dammed thing.

What the forget!?

Stop using milkshape pls

Stop using milkshape pls

Really? That doesn't help me at all..
Ill post a step by step process of what I'm doing later.

Okay, here is exactly what I do:

I get my shape model. Name it whatever.
(Whatever it may be)


I make a box as close to it as I can and name it "Collision"


Then I make another box that holds the entire shape and call it "Bounds"


Then I export the three shapes into the .Obj file.

Am I doing something wrong?

collision is bigger than bounds

The bounds must accommodate for the collision box too. Okay.
Would that also fix both boxes being visible when planted, or must I hide them in some way?