Search found 73 matches

by CZestmyr
Sat Oct 01, 2005 6:28 pm
Forum: Beginners Help
Topic: Classes and stuff
Replies: 3
Views: 199

Yes, it's true, because when you create your own scene node and want it to render, you won't succede, until you set it as a child of an other scene node. I usually call smgr->getRootSceneNode() and set my node as a child of the root node.
by CZestmyr
Sat Oct 01, 2005 6:22 pm
Forum: Advanced Help
Topic: Error: Bad reference counting?
Replies: 6
Views: 364

I think that you shouldn't drop() them before calling grab() on them in your list, which takes care of them. Calling drop() on them before any other class called grab() causes them to cease to exist, which causes problems, when you try to access their formal memory location.
by CZestmyr
Sat Oct 01, 2005 6:14 pm
Forum: Advanced Help
Topic: Irrlicht pathfinding class available
Replies: 35
Views: 6917

I think you must do a tutorial about how it is used. Example of put nodes, joint nodes, in a any level , and the most important , how is the fomat of the data save (net.txt) I will do a simple tut soon. But I can describe the data format immediately for you. It is not very neat and I should change ...
by CZestmyr
Fri Sep 30, 2005 9:05 pm
Forum: Advanced Help
Topic: Irrlicht pathfinding class available
Replies: 35
Views: 6917

For those who wanted the counter tutorial - here it is: http://czestmyr.wz.cz/other/dvtut/dvtutorial.html The class itself changed a bit, so it won't function with the FPS demo project, but it's coded in a better way now. 2 elander: Of course I know that timing related to frames is really a bad idea...
by CZestmyr
Fri Sep 30, 2005 4:46 pm
Forum: Advanced Help
Topic: Irrlicht pathfinding class available
Replies: 35
Views: 6917

Wow! Thanks for your feedback, people. Now to some questions and comments: In main.cpp change map-20kdm2.zip by map-20kdm2.pk3 Yes, I've changed that even before uploading it, but I must have uploaded the old version. It's corrected now. plz put a tutorial like counter , how put a new node, how conn...
by CZestmyr
Wed Sep 28, 2005 7:39 pm
Forum: Advanced Help
Topic: Irrlicht pathfinding class available
Replies: 35
Views: 6917

Demo project for Pathfinding class and pathfinding animator

Hi everyone, I've been to other sorts of things recently, but I decided to do what I've promised and post the demo project of my pathfinding class here. So here it is :wink: You can download it here: http://czestmyr.wz.cz/other/PFProject.zip . (188kB) I didn't include the project file in the archive...
by CZestmyr
Tue Sep 27, 2005 6:43 pm
Forum: Beginners Help
Topic: Problem with animating camera and node at the same time
Replies: 3
Views: 201

Ever heard about parenting objects? Every scene node in the scene can be made a parent of an other node. Try putting following code before creation of the animator: camera->setParent(rydzyk); The camera target is relative to the translation of the camera, so i guess it should move with the camera.
by CZestmyr
Mon Sep 26, 2005 5:01 pm
Forum: Beginners Help
Topic: Collision of multi nodes. Another problem
Replies: 2
Views: 234

And what about the other pointer - Meta? Have you not initialized it with zero yourself in this line:

scene::IMetaTriangleSelector *Meta = 0;

:wink:
by CZestmyr
Mon Sep 26, 2005 4:58 pm
Forum: Advanced Help
Topic: In Place Rotation
Replies: 17
Views: 887

I'm not sure that I understand why you parent the nodes everytime you want to
rotate a part of the body. And why do you change position of the nodes, when you only want to rotate them?

And why do you calculate the angles through matrices? Wouldn't vectors be sufficient?
by CZestmyr
Sun Sep 25, 2005 2:49 pm
Forum: Advanced Help
Topic: How to post user events? (solved)
Replies: 2
Views: 256

How to post user events? (solved)

As the Subject of this thread says: I'd like to know how you post user events to the Irrlicht Device. I tried the method postEventFromUser(SEvent event) of the scene manager, but it doesn't work.
by CZestmyr
Sat Sep 24, 2005 4:59 pm
Forum: Project Announcements
Topic: CQuadTreeSceneNode
Replies: 7
Views: 1529

Good work man! I may have a need for your class. I will definitely take a look at it.
by CZestmyr
Tue Sep 13, 2005 4:40 pm
Forum: Advanced Help
Topic: CLensFlaresSceneNode - need some help
Replies: 10
Views: 1427

2 omaremad: I don't get it. What's the point in dividing the line into four parts and creating three flares instead of one??
by CZestmyr
Tue Sep 13, 2005 4:33 pm
Forum: Advanced Help
Topic: Irrlicht pathfinding class available
Replies: 35
Views: 6917

2 etcaptor: Will post a simplified project soon, with the bot animator as well 2 Electron: Hey man! You were partially right! I read another article on the A* pathfinding recently and it really talked about the open and close lists. I found out that my algo does the work of the lists by discarding a...
by CZestmyr
Thu Sep 08, 2005 5:05 pm
Forum: Beginners Help
Topic: detecting 2 moving nodes colliding?
Replies: 12
Views: 567

How did you do the collision checking between two nodes, when you say you implemented it yourself?
by CZestmyr
Thu Sep 08, 2005 5:04 am
Forum: Beginners Help
Topic: PARENTING OBJECTS...HOW?
Replies: 9
Views: 557

When you create a SceneNode, you specify the parent scene node in the constructor as the second parameter.

And there should also be some setParent functions or something like that in The ISceneNode interface. Just take a look into the reference manual, It's useful.