RuggeroVisintin/SparkEngineWeb

[FEATURE REQUEST] Scene - remove entity

Closed this issue · 0 comments

Is your feature request related to a problem? Please describe.
Once an entity is added to the scene there is no way to remove it

Describe the experience you'd like
Have a public method to remove a specific entity from the scene.

Describe alternatives you've considered
scene.unregisterEntity(entity.id) - the entity id is ideally a uuid

Additional context
This is limiting a lot also the editor experience

BLOCKS RuggeroVisintin/spark-engine-web-editor#18