Search found 32 matches

by NoodlePowa
Fri Aug 17, 2007 9:02 pm
Forum: Beginners Help
Topic: Best way to switch between children?
Replies: 11
Views: 1242

Thanks a bunch, vitek!

You rock. :wink: Thanks for the reminder for the destructor, heh.
by NoodlePowa
Fri Aug 17, 2007 7:20 am
Forum: Beginners Help
Topic: Best way to switch between children?
Replies: 11
Views: 1242

I am doing that.

PlayerEquips.h
#ifndef _PLAYEREQUIPS_H_
#define _PLAYEREQUIPS_H_

#include <irrlicht.h>

using namespace irr;
using namespace core;
using namespace scene;

class CPlayerEquips
{
private:
array<ISceneNode*> Helmets;
s32 Helmet; // init to -1 in constructors
ISceneNode* head_Head ...
by NoodlePowa
Fri Aug 17, 2007 12:55 am
Forum: Beginners Help
Topic: Best way to switch between children?
Replies: 11
Views: 1242

It crashes when I call pickNextHelmet()

I debugged and hovered over Helmet. It showed that it had the value
-858993460
O_O

Is there a specific way I'm supposed to call these?


My console says:
Assertion failed: !(index)=used), file d:\irrlicht-1.3.1\include\irrarray.h, line 270

Thanks again.
by NoodlePowa
Thu Aug 16, 2007 7:35 am
Forum: Beginners Help
Topic: Best way to switch between children?
Replies: 11
Views: 1242

Thanks a bunch, vitek, I'll try it out. :)

There doesn't seem to be an operator+ for array<ISceneNode*> :?
Was it meant to be Helmet instead of Helmets?
by NoodlePowa
Wed Aug 15, 2007 7:32 am
Forum: Beginners Help
Topic: Best way to switch between children?
Replies: 11
Views: 1242

Best way to switch between children?

I'm trying to make an equip system, and I've decided to do a very simple way: removing and adding children to a parent.

However, I get an error when I try to do this...
if (isHelmet00)
{
head_Head->removeAll();
head_Head->addChild(helmet01);
isHelmet00 = false;
}
else if (!isHelmet00)
{
head ...
by NoodlePowa
Thu Aug 09, 2007 7:57 am
Forum: Beginners Help
Topic: Trying to attach something to a b3d joint
Replies: 1
Views: 523

Trying to attach something to a b3d joint

When I try:
hand->addChild(cube);
It errors me...

Here's what I have:
IAnimatedMesh* arm = smgr->getMesh("arm.b3d");
IAnimatedMeshSceneNode* arm00 = smgr->addAnimatedMeshSceneNode(arm);
arm00->setPosition(camera->getPosition());
arm00->setScale(vector3df(20, 20, 20));

ISceneNode* cube = smgr ...
by NoodlePowa
Wed Aug 08, 2007 12:40 am
Forum: Beginners Help
Topic: Runtime errors
Replies: 1
Views: 283

Runtime errors

http://pastebin.com/f23044a41

I'm getting an error at:
smgr->drawAll();
...again.

The IDE I'm using is VC++ and the following are my settings:
1. Lib = "D:\Irrlicht\lib\Win32-visualstudio\"
2. Include = "D:\Irrlicht\include\"
3. I have copied the dll from "D:\Irrlicht\bin\Win32-visualstudio ...
by NoodlePowa
Wed Aug 08, 2007 12:31 am
Forum: Beginners Help
Topic: OpenGL problem...
Replies: 5
Views: 779

If you have downloaded the latest driver from NVIDIA and installed it, try restarting.
by NoodlePowa
Tue Aug 07, 2007 10:17 am
Forum: Beginners Help
Topic: Camera move back
Replies: 3
Views: 541

I don't quite understand your question (because my brain is a couch potato right now), but if you mean to reverse where the camera looks:

camera->setRotation(vector3df(0.0f, 180.0f, 0.0f));

I think that'll work... :oops:



But if you don't mean that, and you mean to move the camera back ...
by NoodlePowa
Mon Aug 06, 2007 10:37 am
Forum: Beginners Help
Topic: Dev-C++ with Irrlicht - could not find procedure entry point
Replies: 4
Views: 1018

Thanks hybrid! :)
by NoodlePowa
Mon Aug 06, 2007 10:00 am
Forum: Beginners Help
Topic: Dev-C++ with Irrlicht - could not find procedure entry point
Replies: 4
Views: 1018

I am using the Win32-gcc one...

Image
by NoodlePowa
Mon Aug 06, 2007 4:33 am
Forum: Beginners Help
Topic: Dev-C++ with Irrlicht - could not find procedure entry point
Replies: 4
Views: 1018

Dev-C++ with Irrlicht - could not find procedure entry point

I tried using Dev-C++ with Irrlicht and it compiled fine. However, I then get the error in my exe:

"The procedure entry point _ZN3irr12createDeviceENS_5vido13E_DRIVER_TYPEERKNS_4core11dimension2dIiEEjbbbPNS_14IEventReceiverEPKc could not be located in the dynamic link library Irrlicht.dll."

Help ...
by NoodlePowa
Sat Aug 04, 2007 11:55 pm
Forum: Beginners Help
Topic: Tiny models
Replies: 3
Views: 1099

Ah, okay, thanks. :D

But my main problem is that my model turns out so tiny!
by NoodlePowa
Sat Aug 04, 2007 11:09 pm
Forum: Beginners Help
Topic: Tiny models
Replies: 3
Views: 1099

Tiny models

My models that I make in Blender turn out really tiny, no matter how much I scale it in Blender.

This is in Blender:
http://img390.imageshack.us/img390/2747/omgomg01le6.th.jpg

This is in my program:
http://img480.imageshack.us/img480/2618/omgomg02tl0.th.jpg

Why does it always turn out so tiny ...
by NoodlePowa
Sat Aug 04, 2007 12:16 pm
Forum: Beginners Help
Topic: Compile Irrlicht with Turbo C++
Replies: 2
Views: 1165

I don't know, and I'm not sure, but whenever my linker nags at me, I'm forgetting to use Irrlicht.lib...