Search found 73 matches
- Mon Sep 05, 2005 5:47 pm
- Forum: Advanced Help
- Topic: Pb with an FPS camera and collision
- Replies: 5
- Views: 840
I think there's a problem with the changeCamera function. You shouldn't add the animator more times than once and you should definitely not drop the pointer to it more than once, because it would delete the animator (if I understand this grab(), drop() stuff correctly). So maybe all you should do is...
- Mon Sep 05, 2005 5:27 pm
- Forum: Beginners Help
- Topic: [AI class] problem with rotation
- Replies: 9
- Views: 425
It must work. At least it causes no problem on my compoter :P Tips: 1. Do I really see 'GetHorizontalAngle' with uppercase G? Do you know, that C++ is case-sensitive? Th function name is getHorizontalAngle() 2. What version of irrlicht are you using? Use the highest version number, if possible. I my...
- Mon Sep 05, 2005 5:12 pm
- Forum: Advanced Help
- Topic: Sky Box resize??
- Replies: 4
- Views: 710
- Mon Sep 05, 2005 4:34 pm
- Forum: Advanced Help
- Topic: Irrlicht pathfinding class available
- Replies: 35
- Views: 6917
2 Electron: The forum is buggy in the last few days, isn't it? :D The algorithm really is A* (or a very near equivalent), because it's main features are path measuring, sorting explored paths by distance and simple heuristics (exploring more promising directions first). The only thing that is not en...
- Mon Sep 05, 2005 6:24 am
- Forum: Beginners Help
- Topic: Timer & FPS
- Replies: 3
- Views: 290
- Mon Sep 05, 2005 6:21 am
- Forum: Beginners Help
- Topic: Pb with an FPS camera and a collision with the ground
- Replies: 2
- Views: 230
- Mon Sep 05, 2005 6:14 am
- Forum: Advanced Help
- Topic: Pb with an FPS camera and collision
- Replies: 5
- Views: 840
Teleportation
Hi, I don't know, how to solve your problem with the crouching in the house, but I know how to solve the teleportation. Simply remove the collision animator from the node, teleport your node, then add the animator again. camera->removeAnimator(anim); camera->setPosition(x.xf,x.xf,x.xf); camera->addA...
- Sun Sep 04, 2005 7:04 pm
- Forum: Beginners Help
- Topic: pivot
- Replies: 1
- Views: 226
- Sun Sep 04, 2005 6:59 pm
- Forum: Beginners Help
- Topic: [AI class] problem with rotation
- Replies: 9
- Views: 425
You can't do it this way. If the vector3df is used for rotation, it has the data stored in radians (i gues), but your function returns just the distance from you to the enemy. I suggest you do this: vector3df vec = me->getPosition() - enemy->getPosition(); vec.getHorizontalAngle(); //This then conve...
- Sun Sep 04, 2005 6:29 pm
- Forum: Advanced Help
- Topic: Irrlicht pathfinding class available
- Replies: 35
- Views: 6917
Hurray! I managed to solve the problem. It was something with the core::list<T> Iterators and their functions. Some function using these iterators didn't work properly when the iterator was end(). Anyway, the class is finally done and you can download it here: http://www.czestmyr.wz.cz/other/irrpat...
- Sun Sep 04, 2005 1:34 pm
- Forum: Advanced Help
- Topic: Irrlicht pathfinding class available
- Replies: 35
- Views: 6917
- Sun Sep 04, 2005 1:31 pm
- Forum: Advanced Help
- Topic: Irrlicht pathfinding class available
- Replies: 35
- Views: 6917
2 FlyHigh: Yes, I created the assignment operator with the copy constructor. The path class doesn't include anything more than inherited members of core::list<T> and a few functions, which can't cause any problem. By the way: my copy constructor and assignment operator do this: They call clear() to ...
- Sun Sep 04, 2005 1:07 pm
- Forum: Advanced Help
- Topic: Irrlicht pathfinding class available
- Replies: 35
- Views: 6917
Irrlicht pathfinding class available
Hi, I created my own A* Pathfinding class, which worked well. Later I wanted to implement 3D pathfinding in Irrlicht, which also worked well. But because I used my own linked list class in the PF Class, I decided to remake the PF Class so that it would use Irrlicht classes only. And that's where a p...
- Tue Mar 01, 2005 7:48 pm
- Forum: Beginners Help
- Topic: How to make a derived class?
- Replies: 5
- Views: 267
Going off topic, but Bal, that amount of typing, you must be tired??? :lol: :lol: Bwa, looking at it now it isn't that long indeed *g*. But it took some time to think how I could explain something I understand in clear language to someone who doesn't know a lot of it appereantly (no offense of cour...
- Mon Feb 28, 2005 6:18 pm
- Forum: Beginners Help
- Topic: How to make a derived class?
- Replies: 5
- Views: 267
How to make a derived class?
Hi, I'm still just playing around with Irrlicht and trying different things. I wanted to make a simple model of a solar system and I wanted to create my own IPlanetSceneNode for this, which would be derived from the IAnimatedMeshSceneNode class. The new class would contain data like mass of the plan...