Custom Bounds for Objects in Milkshape?
by cogmac · in Torque Game Engine · 07/13/2006 (11:04 am) · 3 replies
Is there any way to create a custom bounding mesh for an object (not a character) in Milkshape?
I would like to create a box that is smaller than the actual rendered geometry. If I create a box named bounds, Milkshape exports it along with the rest of the geometry as an untextured gray box.
The DTS exporter seems to have an option "collion meshes" but it is always disbled.
So far, the only way I've been able to create the bounds is the with DTS exporter's "Bounding Box" option, but this automatically makes the box big enough to encompass the entire object (which is bigger than I want).
I would like to create a box that is smaller than the actual rendered geometry. If I create a box named bounds, Milkshape exports it along with the rest of the geometry as an untextured gray box.
The DTS exporter seems to have an option "collion meshes" but it is always disbled.
So far, the only way I've been able to create the bounds is the with DTS exporter's "Bounding Box" option, but this automatically makes the box big enough to encompass the entire object (which is bigger than I want).
#2
07/13/2006 (11:26 am)
It's worth noting that bounds and collision are not the same thing. Bounds is related primarily to rendering, and collision is (of coz) related to collision.
#3
I have a few related questions:
1) Is this "feature" documented anywhere? (the collision-1 naming convention).
2) Is there any way to view the collision mesh in the game? As Cliff points out, the collision mesh is different from the bounds, and the editor seems to only rendre the bounds.
3) Are DTS objects restricted to one collision mesh per object? Or could I also have collision-2? I seem to remember reading something about the collision meshes getting combined into one convex shape...
07/13/2006 (12:05 pm)
Thank you!! That works great.I have a few related questions:
1) Is this "feature" documented anywhere? (the collision-1 naming convention).
2) Is there any way to view the collision mesh in the game? As Cliff points out, the collision mesh is different from the bounds, and the editor seems to only rendre the bounds.
3) Are DTS objects restricted to one collision mesh per object? Or could I also have collision-2? I seem to remember reading something about the collision meshes getting combined into one convex shape...
Torque Owner Alan James
Really Really Good Things Studio