Search found 7 matches
- Fri Dec 12, 2008 12:03 pm
- Forum: Beginners Help
- Topic: Movement and gravity Problem
- Replies: 8
- Views: 697
- Fri Dec 12, 2008 3:10 am
- Forum: Beginners Help
- Topic: Movement and gravity Problem
- Replies: 8
- Views: 697
@nathanf534 Tried setting the gravity to 300 but still the same. @fennec I'm planning to make one also but I think it will take time. Maybe there's a solution to this. @zeroZshadow driver->beginScene(true, true, 0 ); smgr->drawAll(); env->drawAll(); vector3df rotation = camera->getRotation(); vector...
- Thu Dec 11, 2008 5:03 pm
- Forum: Beginners Help
- Topic: Movement and gravity Problem
- Replies: 8
- Views: 697
No! I've enabled already the gravity to camera. // create collision response animator and attach it to the camera ISceneNodeAnimator* anim = smgr->createCollisionResponseAnimator( selector, camera[1], vector3df(60,100,60), vector3df(0,-3,0), vector3df(0,0,0)); I don't have any problems with gravity ...
- Thu Dec 11, 2008 2:32 pm
- Forum: Beginners Help
- Topic: Movement and gravity Problem
- Replies: 8
- Views: 697
Movement and gravity Problem
I'm having a big problem with the movement and the gravity. Because if I hold the W or the forward key, it ignores the gravity. Is there checkgravity() function or something like that? vector3df rotation = camera->getRotation(); vector3df newcamera = camera->getPosition(); if(receiver.IsKeyDown(KEY_...
- Wed Dec 10, 2008 10:18 am
- Forum: Beginners Help
- Topic: Cana anyone explain me the Metaselector
- Replies: 11
- Views: 485
- Tue Dec 09, 2008 3:49 am
- Forum: Beginners Help
- Topic: Cana anyone explain me the Metaselector
- Replies: 11
- Views: 485
- Tue Dec 09, 2008 2:49 am
- Forum: Beginners Help
- Topic: Cana anyone explain me the Metaselector
- Replies: 11
- Views: 485
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...