Post

 Resources 

Console


Converting angels .... bren (5 replies, 0 views) (2000-Oct-14)
-
Ok, I've got a camera view, isometric (cam. position is 5,5,5), but now, I made a variable, that keeps track of the angle, called player.angle. To get the right X and Y values for the next move I used this: Case vbKeyUp Vscroll = Vscroll + 5 * Sin(Player.angle) Hscroll = Hscroll + 5 * Cos(Player.angle) Case vbKeyDown Vscroll = Vscroll - 5 * Sin(Player.angle) Hscroll = Hscroll - 5 * Cos(Player.angle) I thought that would do, but I think it's only correct for a normal top or side view. So what value do I have to add to convert it to isometric view?


-
Back to Forum

This sounds way too philosophical for this place.. Jack Hoxley (4 replies) (2000-Oct-14)
RE: This sounds way too philosophical for this pla Jack Hoxley (2 replies) (2000-Oct-15)
Ok, thanks .. bren (1 reply) (2000-Oct-15)
RE: Ok, thanks .. Jack Hoxley (0 replies) (2000-Oct-16)

Copyright © 2002 - 2004 Eric Coleman, Peter Kuchnio , et. al.
There have been 19 visitors within the last 20 minutes
RSS News Feed