Uniform Runtime Scaling

Hello again everyone…:hugs:
One more weird question-
I want to scale up my enemies as well as move up in z-order for 0.1 to 0.9 when they move from this -

to this-:point_down:

How can I solve it?:thinking:
Thanks in advance…

Do you want the scale to be consistent with y position?

Sorry, but can you please say in more simple way?

As the cows go down the screen, do you want the scale at that position to always be the same if two cows are at that same y position?

UniformScaleZSort.zip (6.8 KB)

Here’s an example. But I would not say it’s the best way. The basic idea of it is you pick a y range to modify the scale inbetween, and then sort z based on y position.

8 Likes

Sorry for the late reply, but this works awesome now.
The cows and bull are running well, Thanks to @Pkeod.
But again a doubt, will go.animate will be useful here?

1 Like

You could still use go.animate here too.

1 Like