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 !!!
Search found 60 matches
- Mon Sep 29, 2008 2:17 pm
- Forum: Beginners Help
- Topic: about math and forward movements
- Replies: 4
- Views: 472
- Mon Sep 29, 2008 1:57 pm
- Forum: Beginners Help
- Topic: about math and forward movements
- Replies: 4
- Views: 472
- Mon Sep 29, 2008 1:39 pm
- Forum: Beginners Help
- Topic: about math and forward movements
- Replies: 4
- Views: 472
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 ...
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 ...
- Fri May 30, 2008 7:10 pm
- Forum: Beginners Help
- Topic: Problem Updating project to v1.4
- Replies: 3
- Views: 305
oh
Tnx
it works, now i can compile....
...but i get an execution time error,
at the first condition:
i dont understand, but now that its a contant type, its possible to work with his value as before i used???
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){- Fri May 30, 2008 6:27 pm
- Forum: Beginners Help
- Topic: Problem Updating project to v1.4
- Replies: 3
- Views: 305
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 ...
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 ...
- Wed Oct 10, 2007 1:15 pm
- Forum: Beginners Help
- Topic: How to do Sprite Animation into a Billboard
- Replies: 3
- Views: 434
- Tue Oct 09, 2007 2:45 pm
- Forum: Beginners Help
- Topic: How to do Sprite Animation into a Billboard
- Replies: 3
- Views: 434
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 ...
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 ...
- Thu Jun 07, 2007 2:29 pm
- Forum: Beginners Help
- Topic: Rotation problems
- Replies: 1
- Views: 381
take a look to this topic and the use about quaternions
http://irrlicht.sourceforge.net/phpBB2/ ... ingle+ball
http://irrlicht.sourceforge.net/phpBB2/ ... ingle+ball
- Thu Jun 07, 2007 2:25 pm
- Forum: Beginners Help
- Topic: call for help on the light problem
- Replies: 1
- Views: 204
- Thu Jun 07, 2007 2:21 pm
- Forum: Beginners Help
- Topic: Sketchup pro and Irrlicht
- Replies: 1
- Views: 313
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 ...
If you like to use simple modelling software just make ...
- Thu May 31, 2007 11:39 pm
- Forum: Beginners Help
- Topic: About Finitie State Machine class implementation method
- Replies: 17
- Views: 1430
- Thu May 31, 2007 12:17 pm
- Forum: Beginners Help
- Topic: About Finitie State Machine class implementation method
- Replies: 17
- Views: 1430
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
http://download2-5.files-upload.com/200 ... obaFSM.rar
Thx for testing it
- Wed May 30, 2007 11:47 pm
- Forum: Beginners Help
- Topic: About Finitie State Machine class implementation method
- Replies: 17
- Views: 1430
- Wed May 30, 2007 10:58 pm
- Forum: Beginners Help
- Topic: About Finitie State Machine class implementation method
- Replies: 17
- Views: 1430
- Wed May 30, 2007 10:24 pm
- Forum: Beginners Help
- Topic: About Finitie State Machine class implementation method
- Replies: 17
- Views: 1430