2D Picture Flying Effect


#1

Hello,

I would like to make an image have the appearance that it is “flying” towards the user by making it fly on the z-plane. Is changing the z-axis coordinates the best way to do this? I tried doing that, but it doesn’t appear to be doing what I want it to be doing. It should appear bigger as it goes towards the user and flies out, but it isn’t. Any help would be great, thanks!


#2

Hi There,

You need to make sure your image/plane is ‘relativeTo’ a 3D space for changes in the Z-axis to have any visible effect.

The simplest example of a 3D space is the Z.camera space.

The gif below shows nothing happening when the z position is changed until the relativeTo value is switched to Z.camera

Cheers,
Mark