Entityparent bug?

Blitz3D Forums/Blitz3D Programming/Entityparent bug?

FlagDKT(Posted 2008) [#1]
Graphics3D 640,480,32,0
box=CreateCube()
sp=CreateSprite("part.png")
EntityParent sp,box
FreeEntity box
EntityAlpha sp,0  ;<Entity does not exists!bug?normal?


edit:Maybe sp becomes part of the box and therefore deleting the box it will delete all the hierarchy?


big10p(Posted 2008) [#2]
Not a bug. FreeEntity also frees all children.


FlagDKT(Posted 2008) [#3]
ops
Indeed :)