CollisionGen Studio is coming soon. It is not on sale yet — this site is a preview.
CollisionGen
Contents

Getting started

Making collision

Testing and exporting

Reference

Projects and assets

A project is a folder holding a .cgproj file, the collision you make for each asset, their thumbnails and your exports. The models themselves stay where they are: a project refers to them in place and never changes them.

Starting a project

  • File > New Project (Ctrl+Shift+N): choose a name and a location; the Studio creates the folder.
  • File > Open Project (Ctrl+O) opens a .cgproj; File > Open Recent lists the last ones. Double-clicking a .cgproj in Explorer opens it too.

The Studio runs once at a time: starting it while it is open (a second click on its shortcut, say) brings the open one to the front, and a .cgproj double-clicked in Explorer opens in it. That way two copies never work on one project at once. (A second installed copy, another version say, runs on its own.)

Your work is saved with the project as you go: every edit to the collision is kept, there is no Save to forget. The open project's name shows in the title bar and beside Project: in the Content Browser (hold the pointer on it for its folder).

File > Save Project As... copies the project — its collision, thumbnails and converted models — to a new name and folder, and opens the copy (the old one is left as it was; your models stay where they are). Use it to keep a project you made somewhere temporary: the Studio warns when a project is in a temporary folder, which Windows can empty at any time.

Importing models

File > Import Assets (Ctrl+I), Import in the toolbar, or drag model files onto the Content Browser. The Studio reads:

FormatNotes
glTF binary (.glb), glTF (.gltf)Read as they are: meshes, materials, textures and placement.
FBX (.fbx), binary or ASCIIConverted for display and collision (units and up axis read from the file), with its skeleton, skinning, blend shapes and animations (see below). The FBX itself is not changed.
OBJ (.obj) with its .mtlConverted the same way; its textures are found beside it.

A building made of many separately placed pieces is one asset: with Merge multi-part assets on (see Generating collision) its collision is made for the whole, while every piece keeps its own material and placement.

Rigged and animated models

A character or prop with a skeleton keeps it. An FBX's skeleton, its skinning (each vertex's four strongest bone weights, as game engines use), its blend shapes and all its animation takes come through the conversion; a glTF brings its own.

The model rests in its bind pose: the mesh as the file stores it, which is also how Unreal shows a skeletal mesh. Collision is generated for that pose. Some programs open a file in another pose than it is bound in. A character saved with an animation, for instance, may open at that animation's first frame. So the rest pose can differ from what another program shows.

The Animation section of the Details panel shows the rig (how many joints) and lists the animations. Pick one under Clip and press Play to watch it loop in the viewport, then Stop to return to the rest pose. Playing only shows the motion: the collision stays as it was generated, for the rest pose.

Exported as .glb, .gltf or .blend, a rigged model keeps its skeleton and animations. FBX and OBJ exports carry it in its rest pose without them (see Exporting).

The Content Browser

Each asset shows as a thumbnail. Double-click one to open it in the viewport. Type in the search box to filter by name. Right-click an asset for:

  • Open, Generate Collision, Export...
  • Reimport: read the model from its file again, as it is now — after you changed it in another program, or put its textures in place. The viewport (if it is open) and its tile show it fresh, and a notice says what was read: an FBX or OBJ is converted afresh, with how many meshes, materials and textures it found, and any texture still missing. Its collision is kept; if the file is newer than its collision, the notice says so, and Generate Collision fits the collision to it again. (A changed file is also read afresh by itself whenever the asset opens.)
  • Rename... (the name in the project; the file keeps its own)
  • Show in Explorer
  • Remove from Project: at once, without a question. The model file stays on disk, and its collision is kept aside for a month: import the same model again and it comes back with its collision, name and export settings.
  • Locate File..., when a model was moved or renamed outside the Studio

Units

Lengths in the Details panel are in the asset's own units: metres for glTF. When a model's file makes it far bigger than a building is (hundreds of metres tall), the Studio says so as it opens: its units are probably off. If a model's units are arbitrary (a building 2 units tall that should be 8 m), tick Real height in the generation options when you generate, so doorways, steps and walls are judged at their real size, and set its height in Tools > Resize / Orient... so the Walk Test player is the right size for it.