Problem is, ISceneNode::setRotation() and ISceneNode::setPosition() functions does not work

Here is a trying I'm doing with setRotation(), I tried setPosition() too
Code: Select all
while((MyApp.IsRunning())&&(IrrDevice->run()))
{
FrameNow = IrrDevice->getTimer()->getTime();
TimeFrame = FrameNow - FramePast;
FramePast = FrameNow;
DoPhysics(TimeFrame); // Time unit: milliseconds
// rest of game loop etc. etc...
void DoPhysics(u32 ms)
{
GrabRot.rotateXYBy(ms*0.002f, GrabRot);
GrabRot.rotateXZBy(ms*0.001f, GrabRot);
cube->setRotation(GrabRot);
};
