Search found 7 matches

by EvilBob
Tue Oct 09, 2012 8:35 am
Forum: Beginners Help
Topic: Rotate an object towards another object
Replies: 6
Views: 568

Re: Rotate an object towards another object

CuteAlien wrote:No
I've just determined that experimentally :lol:

Thanks for the links, I think I shall need to do some more reading this morning. SVN can wait until I've had some more coffee!
by EvilBob
Tue Oct 09, 2012 7:28 am
Forum: Beginners Help
Topic: Rotate an object towards another object
Replies: 6
Views: 568

Re: Rotate an object towards another object

What is throwing me at the moment is my complete lack of clue when it comes to vectors and maths - something that might be a bit of a handicap when it comes to irrlicht I guess. I can't figure out how to get calculate a rotation somewhere between current rotation and final rotation. The function dis...
by EvilBob
Mon Oct 08, 2012 12:12 pm
Forum: Beginners Help
Topic: Rotate an object towards another object
Replies: 6
Views: 568

Re: Rotate an object towards another object

The following bit of code should hopefully do it. I think I picked it up somewhere here in fact. The only thing is that this changes the node rotation in one single step. I still need to work out how to get the node to make a gradual course change over a series of movements. If you come up with an i...
by EvilBob
Tue Oct 27, 2009 2:37 pm
Forum: Beginners Help
Topic: openCV & CvIrrCamTexture - distorted image
Replies: 13
Views: 1260

openCV & CvIrrCamTexture - distorted image

I've been playing with openCV 2.0 and Irrlicht 1.6, using Visual C++ 2008 Express. I have cut & pasted CvIrrCamTexture.h and CvIrrCamTexture.cpp from this thread by FreakNigh . I had to make the following changes to compile; In CvIrrCamTexture.cpp, lines 22-26 //make the texture if(use_rgba_text...
by EvilBob
Sat Oct 24, 2009 5:48 pm
Forum: Beginners Help
Topic: C++ Struct and exceptions - help!
Replies: 2
Views: 158

randomMesh - Yes! Thank you! I completely missed that I was initialising at 0 rather than 1! That's cleared up a number of things.

I do feel quite stupid now though :oops:
by EvilBob
Sat Oct 24, 2009 5:34 pm
Forum: Beginners Help
Topic: C++ Struct and exceptions - help!
Replies: 2
Views: 158

C++ Struct and exceptions - help!

I'm trying to create a class to handle the "power generating units" in a game, but my C++ knowledge is rubbish and I'm not entirely sure how to approach the error I'm getting. To explain the structure I'm using; a 'PowerCore' that contains a number of 'sub-units' (cells/batteries/generator...
by EvilBob
Thu Oct 15, 2009 10:36 pm
Forum: Beginners Help
Topic: Help with irrlicht tutorial 1
Replies: 3
Views: 248

The path is saying the file can be found by going up two directories, then down into the media folder. While this works if you are starting from the example folders in the irrlicht folder, it will not work if you are building your project in a different folder. If you are creating your own project b...