Search found 7 matches

by m3rk
Fri Dec 12, 2008 12:03 pm
Forum: Beginners Help
Topic: Movement and gravity Problem
Replies: 8
Views: 697

Ok thanks for the tip, zeroZshadow. :)
by m3rk
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...
by m3rk
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 ...
by m3rk
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_...
by m3rk
Wed Dec 10, 2008 10:18 am
Forum: Beginners Help
Topic: Cana anyone explain me the Metaselector
Replies: 11
Views: 485

Ok now I got it. Now I have a problem with metaSelector. Can anyone give me some code that uses metaselector and I'll try to understand it.
by m3rk
Tue Dec 09, 2008 3:49 am
Forum: Beginners Help
Topic: Cana anyone explain me the Metaselector
Replies: 11
Views: 485

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/viewtopic.php?t=31334&highlight=add+collision He use...
by m3rk
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...