Hi all,
Sure this is very simple, but I've got a sudden case of brain-wrongs. It may have been answered before but struggling to find it on the forums. If a topic like this exists then a link to that would be great.
I'm trying to make a fake 3D looking First Person shooting gallery game, in which you tap the screen to fire a projectile towards the players Touch. I've set it up like this so far and it works (sort of).
https://www.dropbox.com/s/l63db4naynyle3w/Throw%20Test.capx?dl=0
So I have an instance variable on the Projectile object that scales it so it gets smaller as it flies off into the distance to give that 3D effect. However I want it to scale down realistically towards the point of Touch, rather than just off in in the Touch angle as it does now.
I imagine that's done using Lerp to alter the time taken for the projectile to scale down based on its proximity to the target, but I always get a bit confused when the Lerp monster gets involved