Children of children?

Blitz3D Forums/Blitz3D Programming/Children of children?

Boiled Sweets(Posted 2006) [#1]
Does Blitz support child entities of child entities, i.e.

p = createsphere()
c = createcamera(p)
g = createpivot(c)

Then moveentity p

Will c and g move too?

[edit] Erm I'll answer my own question, yes it appears to.


Dreamora(Posted 2006) [#2]
Yes.
As they are lower in the object hierarchy, their position and rotation depends on their parents as well.


octothorpe(Posted 2006) [#3]
I reckon it would have been faster to test this yourself than post here.


Boiled Sweets(Posted 2006) [#4]
Sorry! Bad boy...

Still at least others know the answer.


_PJ_(Posted 2006) [#5]
The Parent moves, so he Children will move with the Parent.

The 'Grandchildren' will only move due to their parent's moviement. Indirectly, they will be moving along with the original parent.