Page 1 of 1

Parent Z Depth

PostPosted: Sat Nov 19, 2005 9:24 pm
by Kodo
I have a problem right now where by an actor inherits the Z depth of its parent but the Z Depth bar shows the Z depth that the actor has been set at and not what actually gets applied when running the game, ie the parents Z depth. Can we have a option box to set 'Inherits Z Depth from Parent' which if not selected it can still have a parent but its Z depth remains indipendant? if not can we at least have the Z Depth bar show the parent Z depth if that is what must be used?

Just an idea, but it would really save me a big headache ;)
Thanks

PostPosted: Sat Nov 19, 2005 11:31 pm
by Kodo
Another idea, would be to be able to toggle on and off the displaying of parent/child links; so if the 'Display Parent/Child Links' option was on a line is drawn from each child to thier parent, obviously this wouldnt be rendered in game though. This would be helpful for seeing what is linked to what without bringin up any property boxes :)

PostPosted: Tue Feb 28, 2006 10:30 am
by DilloDude
I am working on a game where your sword (and various other items) follow you around, but their z-depth is less than yours. I used
Code: Select all
x=Char.x;
y=Char.y;

(Char being my player actor).
you could also use
Code: Select all
x=Char.x+5;
y=Char.y-3;

If you didn't want it to be in the exact center.