Search found 8 matches

by Paradigm^
Mon Nov 27, 2006 1:29 pm
Forum: Beginners Help
Topic: How can i create the collision for IAnimatedMeshScene Node ?
Replies: 8
Views: 451

I like your enthusiasm :D

If you don't want to look into using an external physics library, I've had some success using bounding boxes (createTriangleSelectorFromBoundingBox). It's not a perfect solution but it's worked for me so far.
by Paradigm^
Mon Nov 27, 2006 12:44 pm
Forum: Beginners Help
Topic: segfault on drawAll() after deleting a node
Replies: 2
Views: 228

It's an IAnimatedMeshSceneNode, created with: IAnimatedMesh* mesh = sm->getMesh("media/sydney.md2"); IAnimatedMeshSceneNode* node = sm->addAnimatedMeshSceneNode(mesh); A pointer to it is stored in a couple of places - a map and a vector - but I've checked that those pointers go at the same...
by Paradigm^
Sun Nov 26, 2006 9:23 pm
Forum: Beginners Help
Topic: segfault on drawAll() after deleting a node
Replies: 2
Views: 228

segfault on drawAll() after deleting a node

Hi all. I'm having a little trouble after I delete a node. I'm doing node->removeAll() and then node->remove() and it works fine, but I'm getting a segmentation fault on the next drawAll() call in my main loop - so presumably, the scene manager thinks it's still there and is trying to do something w...
by Paradigm^
Sat Nov 11, 2006 7:59 pm
Forum: Advanced Help
Topic: Getting mesh from node
Replies: 23
Views: 2387

Thanks, it feels like I'm 90% of the way there now. However... My OnReadUserData function doesn't seem to be being called! I've created a class which extends ISceneUserDataSerializer and the first thing in it is a cout (just to test it's working). No luck! I've added <bool name="IsWall" va...
by Paradigm^
Sat Nov 11, 2006 6:43 pm
Forum: Beginners Help
Topic: ISceneUserDataSerializer is a struct? (apparently)
Replies: 2
Views: 230

Aha! Thanks. All my #includes are in the .cpp files, which is why you don't see them in the .h file. Adding a #include for ISceneUserDataSerializer fixed it. Well done to whoever it is that forgot to add it in irrlicht.h, it's had me confused for the past two hours :p

Cheers!
by Paradigm^
Sat Nov 11, 2006 6:21 pm
Forum: Beginners Help
Topic: ISceneUserDataSerializer is a struct? (apparently)
Replies: 2
Views: 230

ISceneUserDataSerializer is a struct? (apparently)

Hello (again). I found I had exactly the same problem as mentioned in this thread and with a bit of searching and clarifying I now know what I should be doing. Having come to compile time, I get a very odd error though: In file included from engine.cpp:3: mapserialiser.h:9: error: invalid use of und...
by Paradigm^
Tue Nov 07, 2006 7:29 pm
Forum: Advanced Help
Topic: Getting mesh from node
Replies: 23
Views: 2387

It seems that what I'm trying to do is the same as the original poster - namely, get collision data from a .irr file. However, most of the explanations in this thread have gone over my head - could someone explain to me what I need to do? Basically, the things I don't understand are: 1. What is user...
by Paradigm^
Tue Oct 17, 2006 2:57 pm
Forum: Beginners Help
Topic: collision detection on models
Replies: 1
Views: 256

collision detection on models

Hi, I'm trying to modify the irrlicht demo file to get the running character (model2 in the source code) to have its own collision detection. Basically what I've done is change the waypoints so that one is in the middle of the room and one is inside the stairs. So far I've managed to get her to run ...