Search found 12 matches
- Thu Mar 03, 2011 1:17 am
- Forum: Beginners Help
- Topic: Remove Scene Node from SceneGraph
- Replies: 10
- Views: 1851
- Wed Mar 02, 2011 4:22 pm
- Forum: Beginners Help
- Topic: Remove Scene Node from SceneGraph
- Replies: 10
- Views: 1851
- Wed Mar 02, 2011 1:25 am
- Forum: Beginners Help
- Topic: Remove Scene Node from SceneGraph
- Replies: 10
- Views: 1851
Remove Scene Node from SceneGraph
Hello all. I am experiencing that when I attempt to remove a sceneNode from the scenegraph, I am unable to do so. This is the part of my game loop that is supposed to execute this code. while(device->run()) if (device->isWindowActive()) { rcv.endEventProcess(); smgr->addToDeletionQueue(beam); ray.st...
- Sun Feb 27, 2011 3:11 pm
- Forum: Beginners Help
- Topic: Set up event receiver to work like FPS camera
- Replies: 4
- Views: 608
- Sun Feb 27, 2011 5:26 am
- Forum: Beginners Help
- Topic: Mast Event Receiver
- Replies: 19
- Views: 2044
- Sun Feb 27, 2011 2:17 am
- Forum: Beginners Help
- Topic: Set up event receiver to work like FPS camera
- Replies: 4
- Views: 608
- Sun Feb 27, 2011 12:48 am
- Forum: Beginners Help
- Topic: Set up event receiver to work like FPS camera
- Replies: 4
- Views: 608
Set up event receiver to work like FPS camera
After I got a working event receiver working, I noticed that when I add the parameter to my createDevice function, mouse and key input is lost. Seeing that this is sensible, I want to allow the event receiver to work like an FPS camera. But even after looking through the documentation and other thre...
- Sat Feb 26, 2011 9:37 pm
- Forum: Beginners Help
- Topic: Mast Event Receiver
- Replies: 19
- Views: 2044
Oh, well that is embarrassing. I thought the OnEvent function looked fishy, but I didn't touch it for some reason. And it created a chain of problems, because I had to change the object to a pointer, which messed a lot of things up in the code and apparently caused a segmentation fault. Nonetheless,...
- Sat Feb 26, 2011 7:21 pm
- Forum: Beginners Help
- Topic: Mast Event Receiver
- Replies: 19
- Views: 2044
- Sat Feb 26, 2011 5:35 pm
- Forum: Beginners Help
- Topic: Mast Event Receiver
- Replies: 19
- Views: 2044
- Sat Feb 26, 2011 5:16 pm
- Forum: Beginners Help
- Topic: Mast Event Receiver
- Replies: 19
- Views: 2044
for (u32 i = 0; i <= KEY_KEY_CODES_COUNT; i++) for (u32 i = 0; i <= 2; i++) You try to write beyond the array bounds. Try for (u32 i = 0; i < KEY_KEY_CODES_COUNT; i++) Likewise for the mouse buttons. Tried that, and I surprisingly had no success. I have narrowed it down to this line: keyState[i] = ...
- Fri Feb 25, 2011 10:08 pm
- Forum: Beginners Help
- Topic: Mast Event Receiver
- Replies: 19
- Views: 2044
Thank you for the advice, I will look into that. I am the original poster's partner. Our issue is that after we call the initialise function, we get a segmentation fault. The initialisation function looks good to me, but I am unsure. void init() { //KeyBoard States. for (u32 i = 0; i <= KEY_KEY_CODE...