[no bug] Maybe Bug in ISceneNode->setParent() ?

You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
Post Reply
bruebaker
Posts: 1
Joined: Wed Sep 23, 2009 7:14 pm

[no bug] Maybe Bug in ISceneNode->setParent() ?

Post by bruebaker »

Hi,

I think there is a bug in the method ISceneNode::setParent. To reproduce the bug you can use the collision example. You can insert the follow code:

Code: Select all

scene::ISceneNode* camchild = smgr->addCubeSceneNode(100);
camchild->setPosition(core::vector3df(0,0,200));
camchild->setParent(camera);
With the Version irrlicht-1.4.2 it works fine, but with the version irrlicht-1.5.1 it works not correct. The node 'jump' from side to side if you move the camera.

I used the compiled version of the IrrLicht versions.
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

This is probably not a bug in the engine, but a change of the parameters of the camera. Either provide full code or try to use only default parameters of the camera.
Post Reply