I think you would need to use a physics engine for that, or maybe code your own.
The capabilites of irrlicht are quite limited for that (and it's normal, it's a 3D engine )
I do feel quite stupid here
But I need that bit of code for my mouse moved camera, otherwise it just keeps looking at the target.
I'll have to see how to work around that!
Anyway thanks a lot...what an idiot I am
I can't manage to see their anti spam image so I'll just post it here: Main: #include "CGameCore.h" int main() { CGameCore gameCore; if (!gameCore.GameInit()) { return 0; } IAnimatedMesh* mesh; ISceneNode* node; gameCore.guienv = gameCore.device->getGUIEnvironment(); mesh = gameCore.smgr->...
Yup I tried with different values of setTarget() and it doesnt change anything.
Quite weired!
Any idea? Cos I'm quite stuck with my game if I can't rotate my camera (citybuilder, rts like camera which works perfectly well except for zooming and for this)
mmm Well I think I'm doing it right: ICameraSceneNode *camera; then camera = smgr->addCameraSceneNode(); then gameCore.camera->setPosition(vector3df(0,500,-250)); gameCore.camera->setTarget(vector3df(0,0,0)); (In fact even the setTarget here doesn't work. setPosition does though And finnaly in my Ev...
Hi! I've got a problem with the GUI. In fact I create a window on the bottom of my screen, but each time I click outside the area of the window, then the window flickers white. Do you have any idea how to solve that? (BTW, I recompiled the engine changing a few things in the window, such as making i...
Yup I tried doing 2 viewports, but doesnt quite fit my camera style, i'll work on that (not an issue for the moment).
So what should I do to load more than one material?
I'm new to Irrlicht, but what I used to do with other engines, if you are doing a FPS, is just check if the mousepick is on the ennemy mesh. (Maybe won't work very well for network based games)
Hi everybody I'm new to Irrlicht and this is my first post on this forum! I'm looking for an engine to build a very simple city builder (nothing commercial or huge, just for fun). I experimented a bit with Irrlicht and found it quite surprising how easily you can do things compared to raw OpenGL or ...