Click here to Skip to main content
15,887,485 members
Home / Discussions / C#
   

C#

 
QuestionFull Screen / Change Reso? Pin
Acidon1-May-04 12:05
Acidon1-May-04 12:05 
AnswerRe: Full Screen / Change Reso? Pin
Meysam Mahfouzi1-May-04 16:37
Meysam Mahfouzi1-May-04 16:37 
GeneralRe: Full Screen / Change Reso? Pin
Acidon1-May-04 17:37
Acidon1-May-04 17:37 
GeneralRe: Full Screen / Change Reso? Pin
Heath Stewart2-May-04 6:19
protectorHeath Stewart2-May-04 6:19 
GeneralRe: Full Screen / Change Reso? Pin
Acidon2-May-04 9:35
Acidon2-May-04 9:35 
GeneralHandling a car in a 2d game Pin
Snowjim1-May-04 9:07
Snowjim1-May-04 9:07 
GeneralRe: Handling a car in a 2d game Pin
leppie1-May-04 9:17
leppie1-May-04 9:17 
GeneralRe: Handling a car in a 2d game Pin
leppie1-May-04 9:28
leppie1-May-04 9:28 
Snowjim wrote:
tan = Math.Tan(radians);


Snowjim wrote:
The car is now driving forward, when im turning the car rotates like it shild and it moves in other direction, but if i turn to much toward 0 degree(UP) och 180(down) then it will flip and disipare from the screan, the y value is then somthing around -32000.

Thats what you get at the tan graph asimptotes. At pi intervals IIRC (i really should RC). Hence you can deduce that your angle plotting is not correct.

Rt2 = Rx2 + Ry2 , pythagoras. And the resultant (Rt) should be a factor of your time/speed variable.

plot it on a piece of paper and it should all make sense Smile | :)


Generalfiles needed by application Pin
mookeroo1-May-04 4:00
mookeroo1-May-04 4:00 
GeneralRe: files needed by application Pin
leppie1-May-04 5:45
leppie1-May-04 5:45 
GeneralRe: files needed by application Pin
Heath Stewart2-May-04 6:14
protectorHeath Stewart2-May-04 6:14 
GeneralRe: files needed by application Pin
mookeroo2-May-04 12:30
mookeroo2-May-04 12:30 
GeneralLock the mouse to my application Pin
Member 8094091-May-04 2:08
Member 8094091-May-04 2:08 
GeneralRe: Lock the mouse to my application Pin
Hesham Amin1-May-04 3:27
Hesham Amin1-May-04 3:27 
GeneralRe: Lock the mouse to my application Pin
osto1-May-04 13:50
osto1-May-04 13:50 
GeneralRe: Lock the mouse to my application Pin
Heath Stewart2-May-04 6:11
protectorHeath Stewart2-May-04 6:11 
GeneralWindows Messag handling in C# Pin
Vini Deep1-May-04 0:21
Vini Deep1-May-04 0:21 
GeneralRe: Windows Messag handling in C# Pin
scadaguy1-May-04 8:33
scadaguy1-May-04 8:33 
GeneralWeb Service from Java Pin
Member 1697730-Apr-04 19:35
Member 1697730-Apr-04 19:35 
GeneralRe: Web Service from Java Pin
Mazdak30-Apr-04 19:57
Mazdak30-Apr-04 19:57 
GeneralRe: Web Service from Java Pin
Heath Stewart2-May-04 6:09
protectorHeath Stewart2-May-04 6:09 
GeneralCapturing mouse movement while transparent Pin
bennyrascal30-Apr-04 19:18
bennyrascal30-Apr-04 19:18 
GeneralRe: Capturing mouse movement while transparent Pin
Heath Stewart2-May-04 6:05
protectorHeath Stewart2-May-04 6:05 
GeneralRe: Capturing mouse movement while transparent Pin
bennyrascal2-May-04 19:39
bennyrascal2-May-04 19:39 
GeneralDocking Dilemma Pin
gUrM33T30-Apr-04 15:48
gUrM33T30-Apr-04 15:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.