How can I set the z axis? Does vector3df goes like this vector3df(x,z,y);?
Because when I try to set the middle to 1000, I started from the top so that's why I think the middle is z. Can anyone explain it?
a vector is (x,y,z) in irrlicht.
the snowmen arn't touching the ground, probably because the floor isn't level with the axis. Try setting the position of the snowmen to something like (0,-10,0) or you could enable collision detection, and turn on gravity.
Last edited by nathanf534 on Tue Dec 09, 2008 3:40 am, edited 2 times in total.
I don't know about the whole vector3df(x,z,y) because I define it as vector3df(x,y,z), so in my opinion, the best thing would be to define it as: vector3df(horizontal,vertical,depth).
And do I need to put scene::ITriangleSelector* selector = 0; for each object I want to put gravity? Is there any simplest way to do this? Because I found this thread: http://irrlicht.sourceforge.net/phpBB2/ ... +collision
He use selector for camera and selector2,selector3,selector4 for the object. What will happen if I put hundreds of object?. So it means, selector100? LOL.
Indeed. Hold your left hand out in front on you, with your thumb pointing up at the ceiling, your index finger pointing at the screen, and your middle finger pointing to the right.
Middle finger = +X
Thumb = +Y
Index finger = +Z
It's that easy to remember. Write the letters on your fingers if it helps.
Not really. Do the left hand point, and all is well with the world. Do the right hand point at your own face and you break your wrist and/or lose an eye. And that's the best case scenario.