Hi,
thanks guys, got it to work
Search found 23 matches
- Thu Sep 30, 2010 9:33 am
- Forum: Beginners Help
- Topic: key press
- Replies: 7
- Views: 1054
- Thu Sep 30, 2010 8:07 am
- Forum: Beginners Help
- Topic: key press
- Replies: 7
- Views: 1054
key press
Hey, how would i make receiver.IsKeyDown , so that it can only be pressed once? if you get me..because when i do receiver.IsKeyDown(KEY_KEY_W), pressing the W key is like pressing it 10+ times even when i just pressed it once. I know with GetAsyncKeyState you can do: If(GetAsyncKeyState(0xWHATEVER) ...
- Wed Sep 29, 2010 12:55 am
- Forum: Beginners Help
- Topic: camera direction
- Replies: 5
- Views: 857
- Tue Sep 28, 2010 12:50 pm
- Forum: Beginners Help
- Topic: camera direction
- Replies: 5
- Views: 857
Hi, i'm trying to create a cube that's always in the middle of the screen and away from the camera. I tried your method: pCamera = smgr->getActiveCamera(); pos = pCamera->getAbsolutePosition(); target = pCamera->getTarget(); dir = target - pos; node->setPosition(dir); i think i'm doing it wrong beca...
- Tue Sep 28, 2010 12:31 pm
- Forum: Beginners Help
- Topic: camera direction
- Replies: 5
- Views: 857
camera direction
Hi,
Is there a way to get which direction the camera is facing?
Is there a way to get which direction the camera is facing?
- Mon Sep 27, 2010 2:59 am
- Forum: Project Announcements
- Topic: IrrODE - an Irrlicht - ODE wrapper (now with SVN)
- Replies: 561
- Views: 145185
- Sun Sep 26, 2010 3:32 pm
- Forum: Project Announcements
- Topic: IrrODE - an Irrlicht - ODE wrapper (now with SVN)
- Replies: 561
- Views: 145185
- Sun Sep 26, 2010 2:50 pm
- Forum: Project Announcements
- Topic: IrrODE - an Irrlicht - ODE wrapper (now with SVN)
- Replies: 561
- Views: 145185
- Sun Sep 26, 2010 10:31 am
- Forum: Project Announcements
- Topic: IrrODE - an Irrlicht - ODE wrapper (now with SVN)
- Replies: 561
- Views: 145185
- Sun Feb 14, 2010 9:17 am
- Forum: Beginners Help
- Topic: pushing an object.
- Replies: 7
- Views: 607
- Sun Feb 14, 2010 8:15 am
- Forum: Beginners Help
- Topic: pushing an object.
- Replies: 7
- Views: 607
i don't have enough math knowledge to do this, i have basic gravity lodged in(don't know if it's correct though, so let me know if it isn't) void applyGravity(IMeshSceneNode *node,float mass,float gravity,float friction,float dt) { nodeposition = node->getPosition(); acceleration += mass * gravity; ...
- Sun Feb 14, 2010 2:49 am
- Forum: Beginners Help
- Topic: pushing an object.
- Replies: 7
- Views: 607
pushing an object.
hi,
i need some help pushing an object.
i have 2 spheres, how would move an object depending on which direction i push it from?
i need some help pushing an object.
i have 2 spheres, how would move an object depending on which direction i push it from?
- Wed Feb 10, 2010 6:53 am
- Forum: Beginners Help
- Topic: sphere box collision
- Replies: 14
- Views: 904
- Tue Feb 09, 2010 9:59 am
- Forum: Beginners Help
- Topic: sphere box collision
- Replies: 14
- Views: 904
how would you get deltaTime? i'm reading http://gafferongames.com/game-physics/
the author's time() function keeps giving me unresolved external..
the author's time() function keeps giving me unresolved external..