![Embarassed :oops:](./images/smilies/icon_redface.gif)
Code: Select all
case KEY_KEY_D:
{
core::vector3df v = node->getPosition();
v.rotateXYBy(10.0f, v);
node->setPosition(v);
return true;
}
![Sad :(](./images/smilies/icon_sad.gif)
![Rolling Eyes :roll:](./images/smilies/icon_rolleyes.gif)
im pretty sure it is something to do with me wrongly using rotateXYBy()
I tried reading the API i really did ......
![Confused :?](./images/smilies/icon_confused.gif)
sorry if this was already covered in one of the tutorials and i didnt realise..
*edit*
I will be more specific -
I think the problem is in the line
v.rotateXYBy(10.0f, v);
what should the 2nd parameter be?
oh and you're all slack hehehe as if none of you know how to perform a simple rotation - hurry up n answer
![Razz :P](./images/smilies/icon_razz.gif)
![Laughing :lol:](./images/smilies/icon_lol.gif)