ZDepth. How can I add/substract it in game mode?
Posted: Thu Sep 11, 2014 2:04 pm
There's
but I want to add/substract some, in game. How can I write it (in Draw Actor)?
I want to make "3D" effect.
If actor's Y position is 0 ZDepth = 0.5
If actor's Y position is 1 ZDepth = 0.500001
If actor's Y position is 2 ZDepth = 0.500002 etc.
ChangeZDepth("Event Actor", 0.500000);
but I want to add/substract some, in game. How can I write it (in Draw Actor)?
I want to make "3D" effect.
If actor's Y position is 0 ZDepth = 0.5
If actor's Y position is 1 ZDepth = 0.500001
If actor's Y position is 2 ZDepth = 0.500002 etc.