Search found 60 matches

by Warren
Mon Sep 29, 2008 2:17 pm
Forum: Beginners Help
Topic: about math and forward movements
Replies: 4
Views: 376

ouuo It works!!!!
thx JP,
So, mat.rotateVect(dir) aplyies the transformation to this direction vector and then you just have to add to this position the new facing coordinates as a scalar.

Thnx !!!
by Warren
Mon Sep 29, 2008 1:57 pm
Forum: Beginners Help
Topic: about math and forward movements
Replies: 4
Views: 376

so, in my case, the direction vector could be calculated as i do from the Node align, for example: Node->setRotation(45,90,45); vector3df dir= vector3df( sin( radianes(Node->getRotation().Y)) , sin( radianes(Node->getRotation().X)) , cos( radianes(Node->getRotation().Y)) ); that previous line would ...
by Warren
Mon Sep 29, 2008 1:39 pm
Forum: Beginners Help
Topic: about math and forward movements
Replies: 4
Views: 376

about math and forward movements

hi there, I was taking a look to this code snipet by Nick_Japan http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?t=11214&highlight=rotation . i find it perfect to implement a node movement based just on the XZ coordinates. But trying to make a rocket launch from a weapon i would like to care...
by Warren
Fri May 30, 2008 7:10 pm
Forum: Beginners Help
Topic: Problem Updating project to v1.4
Replies: 3
Views: 192

oh
Tnx
it works, now i can compile....
...but i get an execution time error,
at the first condition:

Code: Select all

if(event.EventType == irr::EET_KEY_INPUT_EVENT){
i dont understand, but now that its a contant type, its possible to work with his value as before i used???
by Warren
Fri May 30, 2008 6:27 pm
Forum: Beginners Help
Topic: Problem Updating project to v1.4
Replies: 3
Views: 192

Problem Updating project to v1.4

Hi there, as i say, i have a problem when i updating a previous project to v1.4. As in many irrlicht examples arround the web, i maked a class from IEventReciever to manage the input events: class MiEventReceiver : public IEventReceiver { public: virtual bool OnEvent(SEvent event) { keys[irr::KEY_LB...
by Warren
Wed Oct 10, 2007 1:15 pm
Forum: Beginners Help
Topic: How to do Sprite Animation into a Billboard
Replies: 3
Views: 324

Thx both
I´ll try the JP´s option, i think that it is easier and might get what i want

Thx guys!!
;)
by Warren
Tue Oct 09, 2007 2:45 pm
Forum: Beginners Help
Topic: How to do Sprite Animation into a Billboard
Replies: 3
Views: 324

How to do Sprite Animation into a Billboard

Hi guys, I was wondering how to do texture animation on a billboard using the 2d tutorial´s daemon´s texture. I mean, apply a rectangle from a texture to a billboard and change it every 30frames, for example. I know that the method draw2dImage() has a parameter to expecify the piece of texture to re...
by Warren
Thu Jun 07, 2007 2:29 pm
Forum: Beginners Help
Topic: Rotation problems
Replies: 1
Views: 296

take a look to this topic and the use about quaternions

http://irrlicht.sourceforge.net/phpBB2/ ... ingle+ball
by Warren
Thu Jun 07, 2007 2:25 pm
Forum: Beginners Help
Topic: call for help on the light problem
Replies: 1
Views: 143

i Think that lightmaps are exported apart from irredit, and imported on your scene apart too
by Warren
Thu Jun 07, 2007 2:21 pm
Forum: Beginners Help
Topic: Sketchup pro and Irrlicht
Replies: 1
Views: 248

Like as you say that seems a Skechtup´s 3ds exporter problem, you can try to export to another format that the program supports and then use other software to make a 3ds file, but maybe it is too complicated for the worth that it can gives you. If you like to use simple modelling software just make ...
by Warren
Thu May 31, 2007 11:39 pm
Forum: Beginners Help
Topic: About Finitie State Machine class implementation method
Replies: 17
Views: 885

wow wow, look what i found from the GCC FAQ: When building C++, the linker says my constructors, destructors or virtual tables are undefined, but I defined them The ISO C++ Standard specifies that all virtual methods of a class that are not pure-virtual must be defined, but does not require any diag...
by Warren
Thu May 31, 2007 12:17 pm
Forum: Beginners Help
Topic: About Finitie State Machine class implementation method
Replies: 17
Views: 885

well, here you got the simple aplication source code (with Dev-cpp and C::B project files)

http://download2-5.files-upload.com/200 ... obaFSM.rar


Thx for testing it
by Warren
Wed May 30, 2007 11:47 pm
Forum: Beginners Help
Topic: About Finitie State Machine class implementation method
Replies: 17
Views: 885

i defined the same method, call it Evalue or Eval or whatever... --------------------------------Main State Class class State { public: virtual void Evalue(Glad* glad) virtual ~State(){}; } -------------------------------------State_Stand class State_Stand : public State { public: void Evalue(Glad* ...
by Warren
Wed May 30, 2007 10:58 pm
Forum: Beginners Help
Topic: About Finitie State Machine class implementation method
Replies: 17
Views: 885

Well, actually my State class is like follows: class State { public: virtual void Evalue(Glad* glad); virtual ~State(){}; }; It´s the same but the entity is the Glad class, and now i´d add the empty virtual destructor and now the linker returns 2 same errors , but i dont understand: ...../include/IE...
by Warren
Wed May 30, 2007 10:24 pm
Forum: Beginners Help
Topic: About Finitie State Machine class implementation method
Replies: 17
Views: 885

Thx Vitek ( actually both xDD) ,
any idea about the linker error??? :x