DOCS // meshfx

Colliders Available

Set the collision block to write a box, sphere, capsule or hull. Name it for Godot, Unity, Unreal or OMI. Import is checked in Godot only.

Contents3 sections
  1. Write a box, sphere, capsule or hull
  2. Import is checked in Godot only
  3. Questions

Write a box, sphere, capsule or hull

Set the [collision] block to write a collider with the compiled model. Choose mode of box, sphere, capsule or hull. Set naming to godot, unity, unreal or omi, or leave it at target to follow the export target.

Set per to model for one collider around the whole model, or object for one around each object. axis holds a box to that axis, or runs a capsule along it. auto picks the tightest. hull_fit of contain grows a hull to hold every corner of the first level. inside keeps the chosen corners on the surface.

[collision]
mode = "box"
per = "model"
naming = "godot"

Import is checked in Godot only

Import is checked in Godot only. Unity and Unreal imports were not checked.

In that check, Godot imported the Godot-named box and hull, and the OMI box, sphere and hull, at the written place and size. It did not import the Godot-named sphere and capsule. It reads the OMI capsule its own way, so the bake warns COLLIDER_READ_DIFFERENTLY.

Questions

What collider shapes can meshfx write?

Set collision.mode to box, sphere, capsule or hull. Set naming to godot, unity, unreal or omi, or leave it at target to follow the export target. Set collision.per to model for one collider around the whole model, or object for one around each object. Import is checked in Godot only.

Has collider import been checked in Unity or Unreal?

Import is checked in Godot only. In that check, Godot imported the Godot-named box and hull, and the OMI box, sphere and hull, at the written place and size. It did not import the Godot-named sphere and capsule. It reads the OMI capsule its own way, so the bake warns COLLIDER_READ_DIFFERENTLY. Unity and Unreal imports were not checked.