Sorry for my late answer, I didn´t have time to code last month(s)
Search found 49 matches
- Sun Jul 16, 2006 9:02 am
- Forum: Beginners Help
- Topic: A "real" timer
- Replies: 6
- Views: 878
- Thu Jun 15, 2006 9:45 am
- Forum: Beginners Help
- Topic: Moving a IGUIImage
- Replies: 1
- Views: 257
Moving a IGUIImage
Hi,
I´ve got a problem with moving a picture. I want to replace the cursor with an image. For that, I disabled the visibility of the cursor and added a IGUIImage.
But now, I have no idea how to move it with the cursor. Move() does an absolute moving, so I cant just say getCursorControl ...
I´ve got a problem with moving a picture. I want to replace the cursor with an image. For that, I disabled the visibility of the cursor and added a IGUIImage.
But now, I have no idea how to move it with the cursor. Move() does an absolute moving, so I cant just say getCursorControl ...
- Thu Jun 15, 2006 8:28 am
- Forum: Beginners Help
- Topic: Last shot before I throw in the towel ...
- Replies: 19
- Views: 3041
- Wed Jun 14, 2006 9:29 pm
- Forum: Beginners Help
- Topic: Using a function...
- Replies: 17
- Views: 1333
Yes, I understand the problem. The problem simply was, that my "dummy-declaration" for the camera-pointer was a global declaration, while the other "real" declaration was a "local" declaration. Local variables and pointers are fully independent of global ones. And the RTS_camera simply tried to use ...
- Wed Jun 14, 2006 9:16 pm
- Forum: Beginners Help
- Topic: Using a function...
- Replies: 17
- Views: 1333
- Wed Jun 14, 2006 9:13 pm
- Forum: Beginners Help
- Topic: Using a function...
- Replies: 17
- Views: 1333
- Wed Jun 14, 2006 9:01 pm
- Forum: Beginners Help
- Topic: Using a function...
- Replies: 17
- Views: 1333
It stops when the loading part is ready (loading of the terrain heightmap and so on)
Oh miracle, the Debugger talks to me :lol: I just waited a bit while the program was stuck, and now the debugger says: "Your programm has caused an access violation" and this line is marked:
vector3df pos = camera ...
Oh miracle, the Debugger talks to me :lol: I just waited a bit while the program was stuck, and now the debugger says: "Your programm has caused an access violation" and this line is marked:
vector3df pos = camera ...
- Wed Jun 14, 2006 8:54 pm
- Forum: Beginners Help
- Topic: Using a function...
- Replies: 17
- Views: 1333
- Wed Jun 14, 2006 8:36 pm
- Forum: Beginners Help
- Topic: Using a function...
- Replies: 17
- Views: 1333
- Wed Jun 14, 2006 8:23 pm
- Forum: Beginners Help
- Topic: Using a function...
- Replies: 17
- Views: 1333
Using a function...
Hi again,
I´ve got a problem with using a function to make my code more structured.
now this is (a part) of my code:
void RTS_camera()
{
position2d<f32> p = device->getCursorControl()->getRelativePosition();
if(p.X <= 0.1)
{
vector3df pos = camera->getPosition();
pos.Z = pos.Z + 5;
camera ...
I´ve got a problem with using a function to make my code more structured.
now this is (a part) of my code:
void RTS_camera()
{
position2d<f32> p = device->getCursorControl()->getRelativePosition();
if(p.X <= 0.1)
{
vector3df pos = camera->getPosition();
pos.Z = pos.Z + 5;
camera ...
- Wed Jun 14, 2006 8:02 pm
- Forum: Beginners Help
- Topic: Camera doesnt rotate
- Replies: 5
- Views: 557
OK, i already found a good solution at the forum:
No problems, everything works just like it should
Code: Select all
ICameraSceneNode *camera = smgr->addCameraSceneNodeFPS (0, 100, 500);
camera->setInputReceiverEnabled (false); No problems, everything works just like it should
- Wed Jun 14, 2006 6:21 pm
- Forum: Beginners Help
- Topic: Camera doesnt rotate
- Replies: 5
- Views: 557
- Wed Jun 14, 2006 6:18 pm
- Forum: Beginners Help
- Topic: Camera doesnt rotate
- Replies: 5
- Views: 557
Camera doesnt rotate
Hi there,
I got a very dumb question, I think :lol:
If I create a CameraSceneNodeFPS, I can rotate it without problems. But if I want to use a "normal" camera, he doesnt want to rotate :?. No matter what I do, he doesnt rotate at all. But if I then put back the FPS, it works. I have no idea :oops ...
I got a very dumb question, I think :lol:
If I create a CameraSceneNodeFPS, I can rotate it without problems. But if I want to use a "normal" camera, he doesnt want to rotate :?. No matter what I do, he doesnt rotate at all. But if I then put back the FPS, it works. I have no idea :oops ...
- Sun May 21, 2006 8:02 am
- Forum: Beginners Help
- Topic: Loading a world
- Replies: 11
- Views: 1116
- Wed May 10, 2006 4:21 pm
- Forum: Beginners Help
- Topic: A "real" timer
- Replies: 6
- Views: 878