Generating Colliders in DCC app?

Since Unity is using PhysX, and Unreal uses PhysX, I was wondering if it is possible to create colliders in you DCC of choice?

Using Unreal, if you name the object correctly, it would be used as a collider in engine. This is incredibly useful when you want to create colliders that just can’t be done using the built in shapes, and using a Mesh collider is not the best choice.

[ASCII_ART_ALERT]

Say I wanted a collider shaped like so....

   /-------\
  /         \
 /           \
/_____________\

If I were allowed to scale the individual verts of the box collider I could get by, but I can’t.

I would have to do some tests regarding generating colliders on import, but I don’t think that will accomplish what I need.

You can use mesh colliders for this, with convex checked. Depending on the model you can use the visual mesh–Unity will generate a convex hull if the mesh is concave–or create a separate collision mesh in your content creation package.

Thanks Matthew.

Never thought of creating a collider shaped how I want at the resolution I want in my DCC, and then importing it, remover the mesh renderer component, and adding a mesh collider component.

That should work out fine.

I don’t think that’s necessary. For a given GameObject, the collider you use doesn’t have to be the same as the mesh you’re displaying. You can use one mesh for the looks and another mesh for the collider.

–Eric