|
-
August 14th, 2010, 01:39 PM
#1
Keys
hey,
ok so i am kinda sorta yeah i am a complete newbie to WinAPI. i have worked on learning directx so i have this cool little room rendered but i want to make it so that if you hit the left arrow key the room will begin rotating right or atleast slowdown. something like this.
index = 0.0f
that would be default
then if you hit left arrow key
index -= 0.0125f
this would begin turning it left over the Y-Axis and then the more times you pressed that key the faster it would go also it needs to do the same for the right arrow key only instead of -= its +=
could you guys help me?
thanks
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|