Search found 49 matches

by mR.haHN
Sun Jul 16, 2006 9:02 am
Forum: Beginners Help
Topic: A "real" timer
Replies: 6
Views: 878

Thx Acki, it works fine :wink:

Sorry for my late answer, I didn´t have time to code last month(s)
by mR.haHN
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 ...
by mR.haHN
Thu Jun 15, 2006 8:28 am
Forum: Beginners Help
Topic: Last shot before I throw in the towel ...
Replies: 19
Views: 3041

Uhm, I use Milkshape and it works perfectly. Irrlicht supports the .ms3d format and so you dont even have to convert it somehow.
by mR.haHN
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 ...
by mR.haHN
Wed Jun 14, 2006 9:16 pm
Forum: Beginners Help
Topic: Using a function...
Replies: 17
Views: 1333

Ahhh....that was the problem.... ok now it works, thanks for your patience
with me... :wink:
by mR.haHN
Wed Jun 14, 2006 9:13 pm
Forum: Beginners Help
Topic: Using a function...
Replies: 17
Views: 1333

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 ...
by mR.haHN
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 ...
by mR.haHN
Wed Jun 14, 2006 8:54 pm
Forum: Beginners Help
Topic: Using a function...
Replies: 17
Views: 1333

OK, I just tried to use the debugger (I use Dev-C++ :D ) and it opens the irrlicht window, and then stops. If I then click on "On step forward" the programm just crashes, but without error message, it just doesnt react anymore and I have to close it with the task manager.

Game Maker: Yes, it was ...
by mR.haHN
Wed Jun 14, 2006 8:36 pm
Forum: Beginners Help
Topic: Using a function...
Replies: 17
Views: 1333

Eeerrrrm ( :wink: ) the debugger is definitly activated.....and the camera IS initialisated, because if I start my program, I see my Terrain, but as soon as I want to move the camera through this function this error occurs.
by mR.haHN
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 ...
by mR.haHN
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:

Code: Select all

   ICameraSceneNode *camera = smgr->addCameraSceneNodeFPS (0, 100, 500);
camera->setInputReceiverEnabled (false); 

No problems, everything works just like it should :wink:
by mR.haHN
Wed Jun 14, 2006 6:21 pm
Forum: Beginners Help
Topic: Camera doesnt rotate
Replies: 5
Views: 557

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 ...
by mR.haHN
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 ...
by mR.haHN
Sun May 21, 2006 8:02 am
Forum: Beginners Help
Topic: Loading a world
Replies: 11
Views: 1116

Have You tried what vegeta said , with your landscape as an Octree Mesh?
by mR.haHN
Wed May 10, 2006 4:21 pm
Forum: Beginners Help
Topic: A "real" timer
Replies: 6
Views: 878

ehehe...what is SDL?