Thx Acki, it works fine
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: 622
- Thu Jun 15, 2006 9:45 am
- Forum: Beginners Help
- Topic: Moving a IGUIImage
- Replies: 1
- Views: 189
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()->getPositio...
- Thu Jun 15, 2006 8:28 am
- Forum: Beginners Help
- Topic: Last shot before I throw in the towel ...
- Replies: 19
- Views: 2236
- Wed Jun 14, 2006 9:29 pm
- Forum: Beginners Help
- Topic: Using a function...
- Replies: 17
- Views: 670
- Wed Jun 14, 2006 9:16 pm
- Forum: Beginners Help
- Topic: Using a function...
- Replies: 17
- Views: 670
- Wed Jun 14, 2006 9:13 pm
- Forum: Beginners Help
- Topic: Using a function...
- Replies: 17
- Views: 670
Uhm, do you mean that I shouldnt declare my vars in initialization, but in the main function itself? Anyway, I tried to initalizate my camera before the RTS_camera function. I just put the part from the bottom in main up where at the moment is camera=0. But he tells me that he expects a con- or dest...
- Wed Jun 14, 2006 9:01 pm
- Forum: Beginners Help
- Topic: Using a function...
- Replies: 17
- Views: 670
- Wed Jun 14, 2006 8:54 pm
- Forum: Beginners Help
- Topic: Using a function...
- Replies: 17
- Views: 670
- Wed Jun 14, 2006 8:36 pm
- Forum: Beginners Help
- Topic: Using a function...
- Replies: 17
- Views: 670
- Wed Jun 14, 2006 8:23 pm
- Forum: Beginners Help
- Topic: Using a function...
- Replies: 17
- Views: 670
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->setPositi...
- Wed Jun 14, 2006 8:02 pm
- Forum: Beginners Help
- Topic: Camera doesnt rotate
- Replies: 5
- Views: 342
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: 342
Yeah, I must say I´m not an absolute Beginner...but I´m now starting to code again after a while.... I just want to rotate the camera in initialization. 90° on the X-Axis, in fact. My code looks like this camera->setRotation(vector3df(90.0f,0.0f,0.0f)); EDIT: Found another strange thing: if(p.X <= 0...
- Wed Jun 14, 2006 6:18 pm
- Forum: Beginners Help
- Topic: Camera doesnt rotate
- Replies: 5
- Views: 342
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 ide...
- Sun May 21, 2006 8:02 am
- Forum: Beginners Help
- Topic: Loading a world
- Replies: 11
- Views: 658
- Wed May 10, 2006 4:21 pm
- Forum: Beginners Help
- Topic: A "real" timer
- Replies: 6
- Views: 622