PrefabOptions
PrefabOptions =
PrefabBaseOptions&object&BodyDeclaration
What a prefab declares: its traits, its model, and its body and
collider, a collider with no body being a fixed body. A
convexHull() with no points is its model’s hull, so it names a model.
Type Declaration
Section titled “Type Declaration”| Name | Type | Description |
|---|---|---|
model? |
string |
The registered model each entity is drawn as. |