You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently entities cannot be cloned. This behavior can be useful in games sometimes.
Solution
We should add a clone operations to the Commands system argument which creates a new entity with the same exact components and relations as another entity.
Any entities which have a tree relation directed to the cloned entity (e.g. ChildOf) should also be cloned.
The text was updated successfully, but these errors were encountered:
Problem
Currently entities cannot be cloned. This behavior can be useful in games sometimes.
Solution
We should add a clone operations to the
Commands
system argument which creates a new entity with the same exact components and relations as another entity.Any entities which have a tree relation directed to the cloned entity (e.g. ChildOf) should also be cloned.
The text was updated successfully, but these errors were encountered: