Can someone explain or shoe me a link that tells me about what each these numbers do?
weaponNode->setScale(core::vector3df(6,4,4));
weaponNode->setPosition(core::vector3df(0,0,0));
weaponNode->setRotation(core::vector3df(0,30,0));
Thanks for your help.
Tech^
vector3df numbers argh
-
- Posts: 32
- Joined: Sat Sep 18, 2004 11:53 pm
- Location: Portland, Texas, USA
you could have a look at the API-Doc.
core::vector3df(X,Y,Z)
weaponNode->setScale(core::vector3df(6,4,4));
scale the mesh by 6 on the x-axis , 4on thy y-axis and so on
setPosition will position the mesh at x,y,z
weaponNode->setRotation(core::vector3df(0,30,0));
setRotation uses degrees so this line rotates the node by 30 degree on the y-axis
core::vector3df(X,Y,Z)
weaponNode->setScale(core::vector3df(6,4,4));
scale the mesh by 6 on the x-axis , 4on thy y-axis and so on
setPosition will position the mesh at x,y,z
weaponNode->setRotation(core::vector3df(0,30,0));
setRotation uses degrees so this line rotates the node by 30 degree on the y-axis
Hardwarespecs in signatures suck !