Search found 91 matches
- Wed May 31, 2006 1:39 pm
- Forum: Beginners Help
- Topic: noob's question
- Replies: 13
- Views: 679
Use your debugger to see what's really happening, then if you are still stuck, provide all usefull information you got while using the debugger. If you never used a debugger before, I strongly suggest you take some time to learn how to use it; it will make your life much more easier in the future :D .
- Wed May 24, 2006 11:17 am
- Forum: Beginners Help
- Topic: NOOB: Limit to 'x' frames per second for every machine
- Replies: 2
- Views: 373
- Wed May 03, 2006 6:43 am
- Forum: Beginners Help
- Topic: re. Finding the mouse coordinates in the 3d world
- Replies: 8
- Views: 888
What do you want to do exactly ? Select a node when you click on it probably (that seems the most logical to me) ? Then, why don't you simply check when you click with the mouse ? Don't need to calculate this all the time in a loop. where pos is on the command i will need to place the x and y co-ord...
- Tue May 02, 2006 2:37 pm
- Forum: Beginners Help
- Topic: Deleting a SceneNode crashes Program
- Replies: 1
- Views: 290
Don't do that:
Just use the remove (or removeAll) function from your node.
Code: Select all
smgrGlobal->addToDeletionQueue(container->node);
- Tue May 02, 2006 9:21 am
- Forum: Beginners Help
- Topic: question about getPosition.
- Replies: 1
- Views: 305
- Tue May 02, 2006 6:45 am
- Forum: Beginners Help
- Topic: re. Finding the mouse coordinates in the 3d world
- Replies: 8
- Views: 888
The mouse coordinates cannot be converted simply to a 3D position (because there is one dimension more). Instead, the mouse position can give you a ray that start from the camera position and goes 'inside' your screen. With that ray, you'll have to check for the collisions with other object. Take a ...
- Thu Apr 27, 2006 2:48 pm
- Forum: Beginners Help
- Topic: Draw2DImage- AlphaProblem
- Replies: 2
- Views: 356
Make this rectangle the size of your texture:
Code: Select all
core::rect< s32 > SourceRect(0,0,ImageWidth, ImageHeight);
Draw2DImage(crosshair, position2d(x, y), SourceRect, 0, SColor(255, 255, 255), true);
- Thu Apr 27, 2006 7:57 am
- Forum: Beginners Help
- Topic: Move code
- Replies: 11
- Views: 657
- Thu Apr 27, 2006 7:55 am
- Forum: Beginners Help
- Topic: How to Control the CameraFPS using a regular webcam!
- Replies: 4
- Views: 630
- Wed Apr 26, 2006 2:31 pm
- Forum: Beginners Help
- Topic: Move code
- Replies: 11
- Views: 657
Show the code where the errors are and post the exact error messages. BTW: Is it a better way to make a class instead to call a function? Depends. If you want to add a class just for adding a class, then no, it is useless. I think you first need some more experience in object oriented programming to...
- Wed Apr 26, 2006 12:59 pm
- Forum: Beginners Help
- Topic: Real time Loading
- Replies: 8
- Views: 745
- Wed Apr 26, 2006 11:22 am
- Forum: Beginners Help
- Topic: Real time Loading
- Replies: 8
- Views: 745
- Wed Apr 26, 2006 10:09 am
- Forum: Beginners Help
- Topic: HELP !
- Replies: 9
- Views: 640
- Wed Apr 26, 2006 9:59 am
- Forum: Beginners Help
- Topic: HELP !
- Replies: 9
- Views: 640
In your main, you are declaring a local variable of device: IrrlichtDevice *device = createDevice (EDT_SOFTWARE, dimension2d<s32>(640,480), 32, false, false, false, 0); So, at this point your global variable device is still a NULL pointer. Thus, in your event receiver (outside the scope of main, so ...
- Tue Apr 25, 2006 10:07 am
- Forum: Advanced Help
- Topic: 2D Game Change Weapons
- Replies: 5
- Views: 649