So would you guys please tell me (or lead me in the right direction) to change the model size, location, scale, etc
After looking around i found
irr::scene::IMeshManipulator
but I don't know how to use it.
Any help? Any Advice?
Basics (changing model size, location, scale, etc)
-
firesoul453
- Posts: 12
- Joined: Mon Jul 13, 2009 5:07 am
-
twilight17
- Posts: 362
- Joined: Sun Dec 16, 2007 9:25 pm
node->setPosition();
node->setScale();
node->setRotation();
that should be all
node->setScale();
node->setRotation();
that should be all
Post this userbar I made on other websites to show your support for Irrlicht!

http://img147.imageshack.us/img147/1261 ... wernq4.png

http://img147.imageshack.us/img147/1261 ... wernq4.png
-
firesoul453
- Posts: 12
- Joined: Mon Jul 13, 2009 5:07 am
-
shadowslair
- Posts: 758
- Joined: Mon Mar 31, 2008 3:32 pm
- Location: Bulgaria
The "bold" parts mean you`re using already defined type, class etc. The "::" means you`re using some namespace in this case you`re using typedef, which is active in the "core::" namespace. the "core::" namespace is part of the "irr::" namespace, but you have called "using namespace irr;" somewhere, so you don`t have to write it every time. Calling "using namespace core;" will let you call
"anode->setScale(vector3df(20,20,2));", because this way when the app reads "vector3df" is says:"Ah, I know that! It`s part of the irr::core namespace" and go on. Here`s one useful link, which has many easy-to-understand C++ tutorials:
http://www.cplusplus.com/doc/tutorial/introduction/
"anode->setScale(vector3df(20,20,2));", because this way when the app reads "vector3df" is says:"Ah, I know that! It`s part of the irr::core namespace" and go on. Here`s one useful link, which has many easy-to-understand C++ tutorials:
http://www.cplusplus.com/doc/tutorial/introduction/
"Although we walk on the ground and step in the mud... our dreams and endeavors reach the immense skies..."