I have been working on a project for a while and started with version 1.4 of Irrlicht, IrrEdit and (irrelevantly to this post, IrrKlang) - I recently ported my project/code from 1.4 to 1.5 and I am having a slight problem.
In my project I load an *.irr file with a few nodes that have collision detection properties, in my version from 1.4 it all works perfectly, that is, the menu loads and gives the user options, once they play the game the Irr file and resources are loaded and the user can move aound on a texture with skybox, houses and other noded (Such as the dwarf model), now, when I ported the code (Everything correctly) and compile and run, it works the same until the start game feature runs and the camera acts differently/strangly, it loads in a slightly different position (though no code has changed) the camera starts on a higher height and falls so slowly onto the texture like it has no mass, then, everything appears to be fine until I press any arrow key and all the texture, nodes etc seems to just disappear and all that remains is the sykbox - I don't think it's a collision problem because the camera (eventually) lands on the terrain - and you need to bare in mind I have not changed any of my code so it's nothing to do with it; I can only think it's a compatabillity problem.. debugging etc seems fine also, aswell as smooth compilation, so I really need some advice.
Compatabillity problem with Irrlicht and IrrEdit 1.5 [HELP]
-
Systemerror
- Posts: 98
- Joined: Fri Oct 03, 2008 1:25 pm
- Location: UK
- Contact:
-
Systemerror
- Posts: 98
- Joined: Fri Oct 03, 2008 1:25 pm
- Location: UK
- Contact:
I thought it would be something along those lines, I will look this up on the forum - If you find a link, feel free to post it on this thread for me, thanks.
Ok I've changed the parameter which to
Which seems OK, the problem I am still having though is everything disappearing once I press a directional key, something to do ellipsoid radius or something? I dunno
Ok I've changed the parameter which to
Code: Select all
anim = smgr->createCollisionResponseAnimator(MetaSelector, camera, vector3df(70,90,70),
//here changed gravity to -30 m/s to give the camera a realistic mass
vector3df(0,-30,0),
vector3df(0,0,0)); -System error
I am having this same issue and was wondering if you had come up with a reason or solution to your issue. The interesting part of my problem is that my main .irr file has this problem, yet another test .irr file I had sitting around works fine. I have yet to see any difference. Also in my issue I have output the positions of objects and up until the first draw call the positions seem fine. Then after the first drawall call is made the camera is moved to a very different location that is sometimes 10000 units away.
-
Systemerror
- Posts: 98
- Joined: Fri Oct 03, 2008 1:25 pm
- Location: UK
- Contact:
I've only currently managed to slow the camera speed and gravity, but still the main problem persists.
I might try 'n' re-do my level with IrrEdit 1.5 and see how the output is in the game once loaded, but I feel the problem will persists as the camera scene node is still coded - as I said I've tried to change the camera parameters but it has only chaged the g and s.
Keep me updated also on this matter.
I might try 'n' re-do my level with IrrEdit 1.5 and see how the output is in the game once loaded, but I feel the problem will persists as the camera scene node is still coded - as I said I've tried to change the camera parameters but it has only chaged the g and s.
Keep me updated also on this matter.
-System error