Search found 9 matches
- Thu Mar 06, 2008 4:06 pm
- Forum: Beginners Help
- Topic: whats wrong with my event receiver?
- Replies: 8
- Views: 342
- Wed Mar 05, 2008 7:42 pm
- Forum: Beginners Help
- Topic: whats wrong with my event receiver?
- Replies: 8
- Views: 342
well when you do this
you can press the mouse button once and it always remains true as if the button was kept pressed forever
Code: Select all
mouse[event.MouseInput.Event]=true;
- Wed Mar 05, 2008 7:16 pm
- Forum: Beginners Help
- Topic: whats wrong with my event receiver?
- Replies: 8
- Views: 342
whats wrong with my event receiver?
so for some reason my event receiver doesnt work....partly the keyboard works, but the mouse buttons are always up...whats wrong? class MyEventReceiver : public IEventReceiver { public: bool OnEvent(const SEvent& event) { if(event.EventType == irr::EET_KEY_INPUT_EVENT) { keys[event.KeyInput.Key]...
- Thu Feb 14, 2008 8:19 pm
- Forum: Project Announcements
- Topic: IrrWizard?
- Replies: 320
- Views: 100574
- Thu Jan 10, 2008 9:07 pm
- Forum: Beginners Help
- Topic: Scene node collision with terrain
- Replies: 4
- Views: 536
- Thu Jan 03, 2008 1:15 pm
- Forum: Beginners Help
- Topic: Scene node collision with terrain
- Replies: 4
- Views: 536
Ok, im posting the code... hope it helps #include <irrlicht.h> #include <iostream> using namespace irr; using namespace core; using namespace scene; using namespace video; using namespace io; using namespace gui; using namespace std; IrrlichtDevice *device =0; bool keys[irr::KEY_KEY_CODES_COUNT]; bo...
- Sun Dec 30, 2007 6:17 pm
- Forum: Beginners Help
- Topic: Scene node collision with terrain
- Replies: 4
- Views: 536
Scene node collision with terrain
ive created a terrain and a scene node. ive set up the triangle selector. ive set up an event receiver to move the node. when i move the node around the terrain it slides up the mountains but when i move away from the hills it doesnt fall down unless i release the movement key. when i release the ke...
- Fri Dec 28, 2007 10:03 pm
- Forum: Beginners Help
- Topic: Relative movement of a scene node
- Replies: 2
- Views: 318
i found answer to my first question here: http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=25424
thanks anyway
thanks anyway
- Fri Dec 28, 2007 9:42 pm
- Forum: Beginners Help
- Topic: Relative movement of a scene node
- Replies: 2
- Views: 318
Relative movement of a scene node
sorry for my n00b question but thats what this forum is for right..? so my question is: is it possible to move a scene node relative to its rotation? e.g. moving a node 3 units forward, not along the x/y/z axis, but the direction the node is facing because when i use setPosition() i can only specify...