Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

BodyEntity

BodyEntity<Type> = Entity & object

An entity whose body is of Type, as spawn returns one of a prefab that declares its body, so a verb for one kind refuses another by type. A query’s hit and an entity whose kind setBody changed are a plain Entity.

Name Type
[bodyTypeBrand] Type
Type Parameter
Type extends RigidBodyType