create an animated door

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Guest

create an animated door

Post by Guest »

How to create a functional door in a scene ? I would like a door which can be opened when we are closed to it and when a key is pressed (or a mouse click).
Does irrlicht can retrieve the specifics in a bsp file (func_door for example) or does the door must be created from Irrlicht ?
Many thanks

(I'm using devC++ and QuARK for modelling scenes)[/i]
WToma
Posts: 70
Joined: Tue Aug 09, 2005 8:38 am
Location: Szeged, Hungary

Post by WToma »

I think you have to create your door from code. Anyway, if there is a better solution I would be intrested too.
Toma
"This is not a bug, this is a feature!"
luckymutt
Posts: 453
Joined: Sun Mar 06, 2005 11:56 pm
Location: C-Ville

Post by luckymutt »

The best way I've found is to use the *.x file format with animation.
or you could just create a box or scene node and have it rotate by code.

I don't know about QuARK, but there are other (free) modelling packages that you can use to create the animation and export as *.x file.
Then its just a matter of triggering the animation.
However, I seem to be having some issues getting it to play the way I want it to, but that could just be how I've done the model, I dunno.

In fact, check out the thread "Animation Driving Me Nuts" that I just started last night.
dhenton9000
Posts: 395
Joined: Fri Apr 08, 2005 8:46 pm

Post by dhenton9000 »

http://irrlicht.sourceforge.net/phpBB2/ ... php?t=7119

Uses a physics engine and a milkshape animation file. Functional doors, stairs, elevators.

HTH
Post Reply