
Code: Select all
case KEY_KEY_D:
{
core::vector3df v = node->getPosition();
v.rotateXYBy(10.0f, v);
node->setPosition(v);
return true;
}


im pretty sure it is something to do with me wrongly using rotateXYBy()
I tried reading the API i really did ......

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

