Search found 26 matches

by kennypu666
Tue Mar 23, 2010 11:50 pm
Forum: Beginners Help
Topic: really quick question concerning nodes from .irr file
Replies: 8
Views: 608

sorry, can anybody think of any reasons for this behavior? I have no idea :P
by kennypu666
Sun Mar 21, 2010 8:03 pm
Forum: Beginners Help
Topic: really quick question concerning nodes from .irr file
Replies: 8
Views: 608

hmm... thank you, I got it it to run without crashing now. However, now, the sphere is not lighted for some reason, all though there are lights in the scene (created using irrEdit, I did not set the lights in the programming), and it does not seem to be rotating. Any thoughts? The code is still the ...
by kennypu666
Sat Mar 20, 2010 8:14 am
Forum: Beginners Help
Topic: really quick question concerning nodes from .irr file
Replies: 8
Views: 608

What's the exact problem? No rotation? Crash? For finding a single node in an irr scene I don't iterate the scene, I just use the "getSceneNodeFromName" or "...fromID" in (IIRC) ISceneManager. You just have to give a name (or an ID) to your sphere for that method, and (of course...
by kennypu666
Thu Mar 18, 2010 4:55 am
Forum: Beginners Help
Topic: really quick question concerning nodes from .irr file
Replies: 8
Views: 608

really quick question concerning nodes from .irr file

Hello, I am basicly just trying to control a node that is created in a .irr scene. Just so I know what I am doing, I am just trying to have a sphere created in IrrEdit rotate. The concerning code is right here: ISceneNode* sphere1 = 0; cout<<"Size of nodes: "<<nodes.size()<<endl; for( u32 ...
by kennypu666
Sat Mar 29, 2008 9:51 pm
Forum: Beginners Help
Topic: help converting IMesh node to IAnimatedMeshSceneNode node
Replies: 0
Views: 151

help converting IMesh node to IAnimatedMeshSceneNode node

hi, the title says it all, but I need help on converting a IMesh to a IAnimatedMeshSceneNode. I know its a very nooby question but I need help. the code i need help with is here: IMesh* roommesh = smgr->getMesh(roommesh_name.c_str())->getMesh(0); ITriangleSelector* field1_selector = smgr->createOctT...
by kennypu666
Fri Dec 21, 2007 6:54 am
Forum: Beginners Help
Topic: help please, saying pointer is undeclared when it was!!??
Replies: 1
Views: 189

help please, saying pointer is undeclared when it was!!??

Hi again, sorry but I need help again. For somereason, the compiler is saying that a pointer/variable (not sure), is undeclared, but was obviously declared before it. Are there any reasons why it would do that?(other than misspelling ;) ).Sorry, its in middle of a if statement, but heres the code: /...
by kennypu666
Thu Dec 20, 2007 6:36 pm
Forum: Beginners Help
Topic: Need help with getting code to work IMesh to IAnimatedMesh?
Replies: 2
Views: 179

!! it worked!! thanks for your help JP!!
Ken
by kennypu666
Thu Dec 20, 2007 7:41 am
Forum: Beginners Help
Topic: Need help with getting code to work IMesh to IAnimatedMesh?
Replies: 2
Views: 179

Need help with getting code to work IMesh to IAnimatedMesh?

Hi, I'm a beginner, and I was using this topic as a reference: http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?t=17247, and I just need to get the last part. ok, so I have the code: //get the mesh name out stringc roommesh_name = attribs->getAttributeAsString("Mesh"); attribs->drop();...
by kennypu666
Thu May 31, 2007 4:50 am
Forum: Beginners Help
Topic: node deletion
Replies: 20
Views: 931

thanks for the idea, but it still crashed. I just think that i specified bnode wrong. anybody know how to set a node the right way? sorry lol.
by kennypu666
Thu May 31, 2007 1:27 am
Forum: Beginners Help
Topic: node deletion
Replies: 20
Views: 931

yea, I have a thing for the bullets alread. its not an array though. I still have a question about making the array because I dont know how to do it. I tried a way and no errors but the program crashed so i guess i did it wrong. I still dont understand how the "node" came from. this is wha...
by kennypu666
Wed May 30, 2007 7:41 am
Forum: Beginners Help
Topic: node deletion
Replies: 20
Views: 931

i was going to use an array for example the enemys in a fps, so i dont have to make each one seperatly. at the moment i dont really need an array because im stlil trying to figure out how to check if the bullet collided, how to delete them,etc. but yea thats about it.
by kennypu666
Wed May 30, 2007 6:29 am
Forum: Beginners Help
Topic: node deletion
Replies: 20
Views: 931

sorry

..sorry guys, i thought i can figure it out by my self but aprerently not. I have question for the array of nodes part (sorry i think i wasnt paying enough attention to what you wrote vitek). First question is, on the second snippet, it says; // assuming 'node' is the scene node you want to remove /...
by kennypu666
Wed May 30, 2007 6:07 am
Forum: Beginners Help
Topic: node deletion
Replies: 20
Views: 931

thank you very much for your help!! it works now, i dont have any question for now :oops: thanks very mucho for all your replys
by kennypu666
Tue May 29, 2007 3:49 am
Forum: Beginners Help
Topic: node deletion
Replies: 20
Views: 931

I have all the gravity and animators added, but it still wont jump. the only difference between your example and my code is that in smgr->createCollisionResponseAnimator(), yours is would be; smgr->createCollisionResponseAnimator(node->getTriangleSelector(),cam); while mine is; smgr->createCollision...
by kennypu666
Tue May 29, 2007 1:36 am
Forum: Beginners Help
Topic: node deletion
Replies: 20
Views: 931

thanxs everybody for your replys. They are helping me a lot. I have a nother quetion, and im afraid this one is too noobie. well anyways, in addCameraSceneNodeFPS() ,there is a EKA_JUMP_UP ,but i'm not sure how to exactly use it. can anybody show me a example code, or snippet that makes the scene no...