Search found 167 matches

by shogun
Sat Dec 29, 2007 5:01 pm
Forum: Beginners Help
Topic: variable variable
Replies: 12
Views: 386

You want an array and you want to read a book about C/C++.
by shogun
Sat Dec 29, 2007 1:20 pm
Forum: FAQs, Tutorials, Howtos, and external tool lists
Topic: Make a Node Face another Node (updated)
Replies: 15
Views: 6470

iamtehpwn wrote:I don't see any flaw it.
I really wonder why you're giving eneloc.Y the value of vect.Y and then use eneloc.Y, instead of using vect.Y directly.
by shogun
Sat Dec 29, 2007 12:31 am
Forum: FAQs, Tutorials, Howtos, and external tool lists
Topic: Make a Node Face another Node (updated)
Replies: 15
Views: 6470

Re: Make a Node Face another Node

Code: Select all

	vect = vect.getHorizontalAngle();
	eneloc.Y = vect.Y;
    enemy->setRotation(vector3df(0,eneloc.Y, 0));
Do you really call that "efficient"?
by shogun
Thu Dec 27, 2007 11:57 am
Forum: Beginners Help
Topic: Idiot trying to use irr::core::array with XMLWriter, here.
Replies: 11
Views: 609

The size of "attributes", even though you created it with "irr::core::array< irr:core::stringw > attributes(32)", is 0. I don't know why. I'd call it a bug. "attributes.reallocate()" doesn't work like it should, too, because it doesn't make the array "bigger",...
by shogun
Thu Dec 27, 2007 1:03 am
Forum: Beginners Help
Topic: Idiot trying to use irr::core::array with XMLWriter, here.
Replies: 11
Views: 609

you create an array with only one string that reads "32". No, he doesn't. From the API: template<class T, typename TAlloc = irrAllocator<T>> irr::core::array< T, TAlloc >::array ( u32 start_count ) [inline] Constructs a array and allocates an initial chunk of memory. Parameters: start_cou...
by shogun
Tue Dec 25, 2007 2:27 pm
Forum: Beginners Help
Topic: Text update(solved)
Replies: 1
Views: 224

Re: Text update

Make a static text box outside your mainloop and just change the text of it with setText().
by shogun
Sun Dec 23, 2007 1:02 pm
Forum: Beginners Help
Topic: Two things
Replies: 5
Views: 279

And the answer to you third question is: Yes, it's always better to give postings descriptive names when seeking for help.
by shogun
Sat Dec 22, 2007 6:23 pm
Forum: Beginners Help
Topic: Problems with room not being lit correctly
Replies: 4
Views: 384

Re: Problems with room not being lit correctly

In the SpecialFX example, you'll notice that the walls are brighter when the light is close to them, but darken as the light moves away. This is the effect I am aiming for. You'll also notice that this effect is not existent in the Demo, even though there is a similar spinning light. It's probabloy...
by shogun
Sat Dec 22, 2007 1:52 am
Forum: Beginners Help
Topic: How can i convert 'const wchar_t' to 'const char *'
Replies: 1
Views: 363

You should have a look at the board search, it has already been discussed.

Google for wcstombs and/or wcscmp.

Or try the following:

Code: Select all

if (irr::core::stringw(xml->getNodeName()) != L"node")
by shogun
Wed Dec 19, 2007 10:20 am
Forum: Beginners Help
Topic: about fps camera
Replies: 13
Views: 858

I wonder if it would be wiser to rotate the planet instead.
by shogun
Tue Dec 18, 2007 1:17 pm
Forum: Project Announcements
Topic: Project Consumed announcement and recruitment post!
Replies: 49
Views: 6543

Image

:)
by shogun
Mon Dec 17, 2007 11:27 pm
Forum: Beginners Help
Topic: bounding box resize?
Replies: 7
Views: 404

Dunno if it works, but try node->getMesh()->setBoundingBox(yourBoundingBox).
by shogun
Mon Dec 17, 2007 12:39 pm
Forum: Beginners Help
Topic: Quick newb question, what is SDK mean?
Replies: 6
Views: 236

Thanks, rogerborg! Now I know that SDK means "Schutzgemeinschaft der Kapitalanleger e.V.". Now I wonder what that has to do with Irrlicht ...

;)
by shogun
Mon Dec 17, 2007 10:48 am
Forum: Beginners Help
Topic: Loading mesh from *.irr file
Replies: 11
Views: 779

.irr IS a scene format, not mesh format.
by shogun
Sun Dec 16, 2007 8:58 pm
Forum: Beginners Help
Topic: Mouse events in keymaps?
Replies: 8
Views: 525

Then you should do something right.