View Full Version : [AS3] Z Change Illusion
02-07-2009, 09:17 PM
I'm making a game where I want to move a ball on the Z-axis (positive direction). What I want is to move the ball on the Z-axis, but it make it appear as it's go straight back (obviously the x,y values aren't changing).
02-07-2009, 09:43 PM
You might need to include more information, such as type of game and what your interpretation of Z axis is. If you mean go diagonal I think you use both X and Y.
02-07-2009, 09:56 PM
I want to make the ball go back on the Z axis, but go straight back and not in perspective; kind of like you would do with scaling by using Thales Thereom ( H/h=(fl+z)/fl ). I know what the Z axis is, and the game is an FPS game where a ball straight back and hit's a target. So what i'm asking, is can you do the same thing with the Z-axis, like you can with Thales Thereom for Scaling?
02-07-2009, 10:28 PM
Nevermind; I figured it out
05-12-2009, 03:39 PM
I'm looking for the same thing. Can you please let me know how you solved this? Thanks in advance!
vBulletin® v3.8.5, Copyright ©2000-2014, Jelsoft Enterprises Ltd.