enginmanap / limonEngine

3D FPS game engine with full dynamic lighting and shadows
http://www.limonengine.com
GNU Lesser General Public License v3.0
580 stars 57 forks source link

SetParent logic is too convoluted #68

Open enginmanap opened 5 years ago

enginmanap commented 5 years ago

A physicalRenderable can be attached to another PhysicalRenderable, but to accomplish that

1) SetParent must be called for child 2) AddChild must be called for parent 3) SetParent must be called for child->transform

operation should be streamlined