Modify Z dept of parent/child actor

Game Editor comments and discussion.

Modify Z dept of parent/child actor

Postby Hares » Mon Feb 17, 2014 8:38 pm

Is it possible to change the Z value of a child actor independently of the parent actor?

By default the Z depts seem to be linked between child & parent. If for example the parent has a Z dept of 0.6, and the child a Z dept of 1.0, the in the game the child will also have 0.6. The changes made to the Z value after an actor has been partented do not seem to have much effect. It only seems to effect the order between the child actors that are parented to the same parent.
User avatar
Hares
 
Posts: 105
Joined: Fri Dec 20, 2013 8:39 pm
Location: Belgium
Score: 14 Give a positive score

Re: Modify Z dept of parent/child actor

Postby skydereign » Tue Feb 18, 2014 5:58 am

Hares wrote:Is it possible to change the Z value of a child actor independently of the parent actor?

No, to all other actors, parent's and children have the same zdepth, and children cannot have a zdepth lower than the parent's.
User avatar
skydereign
 
Posts: 3510
Joined: Mon Jul 28, 2008 8:29 am
Score: 589 Give a positive score

Re: Modify Z dept of parent/child actor

Postby Hares » Tue Feb 18, 2014 6:35 pm

Thank you skydereign.
It would be nice to have indepent Z depts.
But at least now I know I don't have search for a workaround any more :)
User avatar
Hares
 
Posts: 105
Joined: Fri Dec 20, 2013 8:39 pm
Location: Belgium
Score: 14 Give a positive score


Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest