Can't add equipment after starting a game?

I'm trying to change things mid game by replacing/adding existing equipment with other variants. For example, I'm wanting to change the board. (It could be just the board display/model.)

I tried adding the equipment mid game but TabletopKit doesn't appear to render new items added once it initializes.

I'm not sure if I'm just doing something wrong or if there's some trick to reset the renderer or something.

One other option could be, is it possible to change the model or texture for an existing model entity?

You are correct, all equipment must be added to the setup before the game is initialized.

To switch out a game board during play, you could use the EntityEquipment's entity as a root entity for the board's mesh. So, during init, you would add board-A as a child of the EntityEquipment's entity. Then, during an update loop, you would remove board-A and add board-B as a child.

Remember to update the bounding box manually on each change using the updateEquipment action, which takes boundingBox as a parameter.

Can't add equipment after starting a game?
 
 
Q