Announcement

Collapse
No announcement yet.

Importing collision objects

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

    Importing collision objects

    I am building a level and most of my imported static meshes are coming in just fine - with their UCX named collision objects. But i have a few objects where the collision object is not detected. At least i don't see a message about it in the icon for the static mesh in my package. For the ones that work properly, the icon tells me how many prims are in my collision model or that it has no collision model. But on a few, there is no message at all.

    I have triple checked the name, the pivot point, reimported, but I still don't get the editor to recognize the collision object. I even remade one of my columns from scratch with its collision object, and the collision object did not come in. I know i can enable per poly collision and other types of collision in the static mesh editor, but does anyone have an idea what i might be doing wrong?

    #2
    Difficult to say...
    Is the collision valid? ie. each is named correctly, each is a closed convex primitive shape, each is non-overlapping with any other UCX for this model?

    Comment


      #3
      As far as i can tell, the collision object is named appropriately, with the prefix UCX, and the collision model is closed convex. Is there a test for convex?

      As for the over-lapping, there is only one UCX object for the column. I just retested it and rechecked it, and i still don't see the message to tell me that there are collision prims. I am at a loss. Fortunately i can enable collision on it through the editor, and the majority of my other objects are working fine. Thanks for the reply.

      Comment


        #4
        There is no convex test. You simply have to be sure that each collision primitive for a mesh is convex. Even if it is not convex or is overlapping, it should still import but the collision usually doesn't work in-game.
        I would have to see your .ase file to know if there is an issue with it or an editor bug.

        Comment


          #5
          Here is a link to the .ase file. It's a very simple object. If you have time to look at it, i would greatly appreciate it. I hope it is something simple, although that could be embarrassing. http://www.martinarts.com/art/refPool_column.zip

          Comment


            #6
            The collision is shown as imported on this mesh for me.
            If you check out the View Collision in the StaticMesh Editor and Show Collision flag in the viewports, it shows up with collision.

            Comment

            Working...
            X