Are hierachical entities on the todo list? Sorry i havent checked.
The idea is for entities to be parented, so that for example say a platform parented by a door would rotate the same way as the door if opened.
Physics stuff is very limited with the current mechanism and i see this as a good way to make new things possible.
2 Likes
Would the motions of a “child” entity be relative to its “parent” entity?
Yup thats the basic idea why physics based entities, but it doesnt have to stop there, i think there are more genral applications available.
Modern engines prefer composition over inheritance. Inheritance was largely abandoned by the industry. Among many issues, hierarchies would always devolve into a few long chains of inheritance, making it difficult to add common traits across several entities derived from different heritages.
True, but in this case totally changing the entity system might not be viable, gotta work with what we have.
Just having entity hierarchies would already be an interesting improvement.