Announcement

Collapse
No announcement yet.

Vehicle Skin misalignment ?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Vehicle Skin misalignment ?

    I have a subclass of an existing vehicle where I changed the
    skins, but in game the skins are all misaligned. The original skin
    texture (the parent vehicle's) was exported then modifed and
    reimported in another texture package. So, the texture is exactly
    the same except with a logo painted on the sides.
    The assumption was that the texture would map to the vehilce's
    mesh the exact same way.

    How is the texture skin mapped to the vehicles mesh ?
    Is there a way via UScript to tell it how to map the texture to the
    mesh ? (BTW, I don't have 3D Studio or Maya).

    #2
    You probably have them in the wrong place. The skins array are parallel to the materials array on a static mesh. If the actor using the mesh has something in Skins[1] then it will overwrite Materials[1] on the static mesh, using the same UVW coordinates as the normal skin (since those are stored on the mesh). You probably are just putting the texture in the wrong spot in the skins array.

    Comment


      #3
      Thanks, Turns out it wasnt the skins array, it was the texture.
      I should have checked it to begin with (doh) since I didnt create it.
      One of the textures was rotated when compared to the original.

      Comment

      Working...
      X