Cana anyone explain me the Metaselector
Cana anyone explain me the Metaselector
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?
camera->setPosition(core::vector3df(-100,0,-150));
By the way, check out the image below. They are all floating. How can I fix this? I try to make it 0 but it didn't work.
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?
camera->setPosition(core::vector3df(-100,0,-150));
By the way, check out the image below. They are all floating. How can I fix this? I try to make it 0 but it didn't work.
Last edited by m3rk on Thu Dec 11, 2008 2:14 pm, edited 4 times in total.
-
- Posts: 199
- Joined: Tue Dec 09, 2008 2:55 am
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.
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.
while(signatureEmpty){cout<<wittyComment();}
Now I'm confused. Where to define it?
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.
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.
-
- Posts: 199
- Joined: Tue Dec 09, 2008 2:55 am
-
- Posts: 368
- Joined: Tue Aug 21, 2007 1:43 am
- Location: The Middle of Nowhere
-
- Admin
- Posts: 3590
- Joined: Mon Oct 09, 2006 9:36 am
- Location: Scotland - gonnae no slag aff mah Engleesh
- Contact:
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.
Middle finger = +X
Thumb = +Y
Index finger = +Z
It's that easy to remember. Write the letters on your fingers if it helps.
Please upload candidate patches to the tracker.
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
-
- Posts: 368
- Joined: Tue Aug 21, 2007 1:43 am
- Location: The Middle of Nowhere
-
- Admin
- Posts: 3590
- Joined: Mon Oct 09, 2006 9:36 am
- Location: Scotland - gonnae no slag aff mah Engleesh
- Contact:
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.
Please upload candidate patches to the tracker.
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way