Game Development Community

Make brushes from static mesh

by Michael Shah · in Constructor · 03/10/2009 (9:27 am) · 6 replies

Hello,

I'm having a problem where when I import a static mesh, it has no brushes at all. This causes a problem because then I am not able to export my object as a .dif. I've tried to add in a cube and export my two objects, but then my static mesh doesn't show up and I just get a cube with a huge bounding box where my object should be.

Any help with getting static meshes into Torque? My object looks fine, and is textured and everything in constructor.

#1
03/10/2009 (12:53 pm)
@Michael - At least one brush is required to export. The big box surrounding your mesh - is that the actual bounding box from the DTS? Or is it the collision mesh? Does it work if you don't have those?
#2
03/11/2009 (6:19 am)
I believe the big box surrounding my mesh is the actual bounding box from the DTS. I just don't understand why my objects cannot be viewed in torque when I export them from constructor as a .dif. The .dts files seem to appear fine in constructor. Any other ideas on how to create brushes from my imported static meshes?
#3
03/11/2009 (9:48 am)
@Michael - How did you create the DTS? If it was with 3dsmax, I can take a look at it.
#4
03/11/2009 (10:01 am)
I created it using Blender.
#5
03/11/2009 (1:30 pm)
@Michael - it must be something in that exporter, I don't see this behavior with DTS's that are exported from Max and Milkshape. I may be able to take a look at the DTS itself, if you want to send it, but it would have to wait in the queue behind quite a bit more items I am working on.
#6
03/30/2009 (8:29 am)
Hi Jaimi,

Thanks for your help. I have gotten around the problem by just making a dts, and then making another .dif as a collision object.

Process:
Export mesh from blender as .dts
Create a simple object in torque in constructor
Position objects at same location, and hide simple object and I have my collision.