Scripting API

Scripting API

MeshColliders3DBaking

Class in Abyss.Physics3D, from Abyss.Physics3D.

The shapes a Mesh Collider 3D is made of, baked as the editor imports a model ticked for Physics 3D — each mesh's triangles and its hull, saved as Jolt saves them — so a game restores them rather than working them out as it starts; and a model ticked as a Mesh Collider 3D of one of its meshes is added.

public sealed class MeshColliders3DBaking : IPlugin

Remarks

What is baked is Jolt's, so its version is the baker's: a Jolt of another version bakes every ticked model again, and a game finding a bake of another version works the shapes out instead.

Methods

Build

public void Build(Schedule schedule)

Parameters

  • schedule