Thanks a bunch, vitek!
You rock. Thanks for the reminder for the destructor, heh.
Search found 32 matches
- Fri Aug 17, 2007 9:02 pm
- Forum: Beginners Help
- Topic: Best way to switch between children?
- Replies: 11
- Views: 680
- Fri Aug 17, 2007 7:20 am
- Forum: Beginners Help
- Topic: Best way to switch between children?
- Replies: 11
- Views: 680
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; public...
- Fri Aug 17, 2007 12:55 am
- Forum: Beginners Help
- Topic: Best way to switch between children?
- Replies: 11
- Views: 680
- Thu Aug 16, 2007 7:35 am
- Forum: Beginners Help
- Topic: Best way to switch between children?
- Replies: 11
- Views: 680
- Wed Aug 15, 2007 7:32 am
- Forum: Beginners Help
- Topic: Best way to switch between children?
- Replies: 11
- Views: 680
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_Head->r...
- Thu Aug 09, 2007 7:57 am
- Forum: Beginners Help
- Topic: Trying to attach something to a b3d joint
- Replies: 1
- Views: 378
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 = sm...
- Wed Aug 08, 2007 12:40 am
- Forum: Beginners Help
- Topic: Runtime errors
- Replies: 1
- Views: 177
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\W...
- Wed Aug 08, 2007 12:31 am
- Forum: Beginners Help
- Topic: OpenGL problem...
- Replies: 5
- Views: 370
- Tue Aug 07, 2007 10:17 am
- Forum: Beginners Help
- Topic: Camera move back
- Replies: 3
- Views: 321
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: camera->setPo...
- Mon Aug 06, 2007 10:37 am
- Forum: Beginners Help
- Topic: Dev-C++ with Irrlicht - could not find procedure entry point
- Replies: 4
- Views: 699
- Mon Aug 06, 2007 10:00 am
- Forum: Beginners Help
- Topic: Dev-C++ with Irrlicht - could not find procedure entry point
- Replies: 4
- Views: 699
- Mon Aug 06, 2007 4:33 am
- Forum: Beginners Help
- Topic: Dev-C++ with Irrlicht - could not find procedure entry point
- Replies: 4
- Views: 699
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."...
- Sat Aug 04, 2007 11:55 pm
- Forum: Beginners Help
- Topic: Tiny models
- Replies: 3
- Views: 790
- Sat Aug 04, 2007 11:09 pm
- Forum: Beginners Help
- Topic: Tiny models
- Replies: 3
- Views: 790
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? And a...
- Sat Aug 04, 2007 12:16 pm
- Forum: Beginners Help
- Topic: Compile Irrlicht with Turbo C++
- Replies: 2
- Views: 919