Skip to content

EntityProps

Defined in: packages/engine/src/components/Entity.tsx:74

  • PropsWithChildren
Property Type Description
authority? AuthorityContext -
children? ReactNode -
collider? ColliderProps Read at spawn. Without one the entity has no body: a walker’s is its own, and a coin without one is walked through. ponytail: a change after mount is ignored; rebuilding the body on one when a game needs a kind to change at runtime.
model? string The name of a registered model, or a path the game serves such as /assets/statue.glb, drawn inside the entity’s group.
name? string The entity’s row name in the devtools tree; the component’s own when left out.
position? Position -