Search found 9 matches

by hammeraxe
Thu Mar 06, 2008 4:06 pm
Forum: Beginners Help
Topic: whats wrong with my event receiver?
Replies: 8
Views: 850

thanks for the replies guys.... :D
by hammeraxe
Wed Mar 05, 2008 7:42 pm
Forum: Beginners Help
Topic: whats wrong with my event receiver?
Replies: 8
Views: 850

well when you do this

Code: Select all

mouse[event.MouseInput.Event]=true; 
you can press the mouse button once and it always remains true as if the button was kept pressed forever
by hammeraxe
Wed Mar 05, 2008 7:16 pm
Forum: Beginners Help
Topic: whats wrong with my event receiver?
Replies: 8
Views: 850

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 ...
by hammeraxe
Thu Feb 14, 2008 8:19 pm
Forum: Project Announcements
Topic: IrrWizard?
Replies: 320
Views: 124091

ummm...is this supposed to work with irrlicht 1.4??
it compiles but i cant get any further than the intro screen....;(
by hammeraxe
Thu Jan 10, 2008 9:07 pm
Forum: Beginners Help
Topic: Scene node collision with terrain
Replies: 4
Views: 706

anyone...?
by hammeraxe
Thu Jan 03, 2008 1:15 pm
Forum: Beginners Help
Topic: Scene node collision with terrain
Replies: 4
Views: 706

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 ...
by hammeraxe
Sun Dec 30, 2007 6:17 pm
Forum: Beginners Help
Topic: Scene node collision with terrain
Replies: 4
Views: 706

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 ...
by hammeraxe
Fri Dec 28, 2007 10:03 pm
Forum: Beginners Help
Topic: Relative movement of a scene node
Replies: 2
Views: 426

i found answer to my first question here: http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=25424


thanks anyway
by hammeraxe
Fri Dec 28, 2007 9:42 pm
Forum: Beginners Help
Topic: Relative movement of a scene node
Replies: 2
Views: 426

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 ...