Does anyone have any idea how to fix this issue? It seems to be linked to this line of code in some way:
xt=x+cos(degtorad(direction)); yt=y-sin(degtorad(direction)); zt=z+tan(degtorad(zdirection));
Posted 10 May 2012 - 09:57 PM
xt=x+cos(degtorad(direction)); yt=y-sin(degtorad(direction)); zt=z+tan(degtorad(zdirection));
Posted 11 May 2012 - 12:58 AM
Posted 11 May 2012 - 02:22 AM
Posted 11 May 2012 - 06:14 AM
Change to end step.
Here's what I think is currently happening:
- Begin Step or Step: You calculate xt, yt, and zt.
- Between Step and End Step: Object moves according to hspeed and vspeed. In other words, x and y change.
- Draw (Comes after end step): You set the camera based on x, y, z, xt, yt, and zt.
Posted 13 May 2012 - 03:15 PM
0 members, 0 guests, 0 anonymous users