bryanedds / Nu

Repository hosting the open-source Nu Game Engine and related projects.
MIT License
1.12k stars 156 forks source link

Consider creating a special facet that when its entity is translated by the editor, child rigid bodies are also translated. #786

Open bryanedds opened 5 months ago

bryanedds commented 5 months ago

Creating multiple entity families that contain child rigid bodies doesn't have good affordances in Gaia. Same goes for copy-pasting them. This is because rigid bodies specifically do not utilize or respect mounting. However, it would still be nice to be able to edit their root entity as if they did. Hence, we should consider creating a special facet that marks the root entity as desiring this special handling in the editor.

bryanedds commented 5 months ago

Alternatively, just implement this special case behavior only when moving / pasting rigid bodied entities themselves. Then there'd be no need for a special facet afaik.