Author Topic: Collision Mesh issues  (Read 933 times)

My biggest problem with creating vehicles is generally the collision mesh. Not creating it, but merely that the textures are awkwardly glitched in-game.

I am not sure if it's even a texture issue, actually. But that is what it looks like.

Some pictures to show you what I mean.



These pictures are taken from a great distance, but the fact that it appears at all bothers me.
The meshes name in the program is always Collision-1, as naming it anything else(col-1, col0, collision0) seems to crash Blockland for me.

I export the models using Milkshape's Torque DTS Plus plugin, as I don't understand Blender enough to use it's exporter(I've heard it exports beautifully), and the Torque Game Engine DTS plugin always exports the model unflatshaded(the collision doesn't seem to have problems with this plugin if I recall, but again the unflatshaded thing happens).

I need some help to solve my problem, obviously. I don't know what "techniques" people may have used to do collision meshes, and searching doesn't seem to help.
« Last Edit: February 12, 2011, 10:59:40 PM by Blastdown »

Ok.

Collision Mesh

   -Don't add a texture to the collision mesh
   -It should always be named Collision-1 or Col-1
   -If that doesn't help, tell us about when that specifically happens

Exporting and Flatshading
   -Milkshape's exporter works fine
   -Flatshading needs to be done a specific way, which is detailed here

Ok.

Collision Mesh

   -Don't add a texture to the collision mesh - There is no texture on the mesh.
   -It should always be named Collision-1 or Col-1 - It is named Collision-1.
   -If that doesn't help, tell us about when that specifically happens - It happens after moving away from the vehicle a distance.

Exporting and Flatshading
   -Milkshape's exporter works fine - Not for the collision mesh, that I'm aware of.
   -Flatshading needs to be done a specific way, which is detailed here - The collision mesh has to be flatshaded? That doesn't sound right at all.


Collision Mesh
Try assigning your collision mesh to a blank texture.

Flat shading
You asked about how to flat shade, so I gave you a link. The collision mesh should not behave any differently when you flat shade it, but that tutorial was to tell you how to flat shade your model.



I addressed all of the issues you brought up in your post, so some of them you might've already fixed or figured out (e.g. the flat shading and/or what to name the collision mesh). Sorry for any confusion.

Collision Mesh
Try assigning your collision mesh to a blank texture.

This didn't change anything.
I'll add that this problem only occurs when moving away from the vehicle a distance.

Flat shading
You asked about how to flat shade, so I gave you a link. The collision mesh should not behave any differently when you flat shade it, but that tutorial was to tell you how to flat shade your model.

I never asked how to flat-shade.
and the Torque Game Engine DTS plugin always exports the model unflatshaded(the collision doesn't seem to have problems with this plugin if I recall, but again the unflatshaded thing happens).
I mentioned how this particular plugin screws up the shading when exported.
I'll point out that I already understand flat-shading and how to preform it along with other shading techniques. This is not the problem I am having.
« Last Edit: February 10, 2011, 06:19:09 PM by Blastdown »

This doesn't change anything.
I'll add that this problem only occurs when moving away from the vehicle a distance.
Did you try it? If you did, I'm not sure what could be causing this.

Disregard this, I didn't read it through.

Did you try it? If you did, I'm not sure what could be causing this.

I used the wrong word, yes I did try it.

Issue has been resolved.
Changing the meshes LODs to 16 instead of 32 seems to have done the trick.