I'm not sure to what objects I can apply de drop() function. Foe e.g if I have an int functions and I return a value, all the items are dropped themselves?
Thanks in advance.
Search found 10 matches
- Sat Mar 07, 2009 7:11 pm
- Forum: Beginners Help
- Topic: Questions about the ->drop() function
- Replies: 1
- Views: 200
- Mon Dec 29, 2008 3:50 pm
- Forum: Beginners Help
- Topic: Image in Background?
- Replies: 5
- Views: 434
- Wed Dec 24, 2008 7:24 pm
- Forum: Beginners Help
- Topic: Collision "jump"
- Replies: 1
- Views: 472
Collision "jump"
The collision system works ok. I wonder when the node "jumps" over walls. I have a node that is moved over the x and z directions, but sometimes it jumps (moving over y). When this happens? Another little question: smgr->createCollisionResponseAnimator returns something when it collides? I...
- Mon Dec 22, 2008 6:54 pm
- Forum: Beginners Help
- Topic: Camera rotation
- Replies: 11
- Views: 545
Searching I found this and works!
Code: Select all
core::vector3df RelativeToCar(0, 6, -10);
car->getAbsoluteTransformation().transformVect(RelativeToCar);
cam->setPosition(RelativeToCar);
cam->setTarget(car->getAbsolutePosition());
- Mon Dec 22, 2008 5:42 pm
- Forum: Beginners Help
- Topic: Camera rotation
- Replies: 11
- Views: 545
- Mon Dec 22, 2008 1:03 am
- Forum: Beginners Help
- Topic: Camera rotation
- Replies: 11
- Views: 545
Sort of. I really doubt that he wants the camera to follow the car as if it were mounted rigidly from a transparent boom sticking out of the rear of the car. He probably wants some smoothing so that if the user makes a hard turn you would see the side of the car for a few seconds, and then the came...
- Sun Dec 21, 2008 11:19 pm
- Forum: Beginners Help
- Topic: Camera rotation
- Replies: 11
- Views: 545
Testing the code: scene::ICameraSceneNode * cam = smgr->addCameraSceneNode(0, core::vector3df(0, 0, 0), core::vector3df(0, 0, 0)); cam->bindTargetAndRotation(1); cam->setAutomaticCulling(scene::EAC_FRUSTUM_BOX); cam->setRotation(car->getRotation()); cam->setPosition(core::vector3df(carPosition.X, ca...
- Sun Dec 21, 2008 9:26 pm
- Forum: Beginners Help
- Topic: Camera rotation
- Replies: 11
- Views: 545
Thanks:D Now I have this, but it is not working as I expected... scene::ICameraSceneNode * cam = smgr->addCameraSceneNode(0, core::vector3df(0, 0, 0), core::vector3df(0, 0, 0)); cam->bindTargetAndRotation(1); In the loop: cam->setPosition(core::vector3df(carPosition.X, carPosition.Y + 5.0f, carPosit...
- Sun Dec 21, 2008 7:59 pm
- Forum: Beginners Help
- Topic: Camera rotation
- Replies: 11
- Views: 545
Camera rotation
I searched over the forums but I only found something about the bindTargetAndRotation() function. I move a car with the keys, so I want a camera following it. In the loop: cam->setTarget(carPosition); cam->setPosition(core::vector3df(carPosition.X - 10.0f, carPosition.Y + 10.0f, carPosition.Z)); cam...
- Sun Dec 14, 2008 8:05 pm
- Forum: Beginners Help
- Topic: "DIRECT3D9 Driver was not compiled into this dll"
- Replies: 1
- Views: 1030
"DIRECT3D9 Driver was not compiled into this dll"
That is the message I have using the DIRECT3D9 Driver for the second tutorial. Using OpenGl works. What can I do to solve the problem?
Thanks.
Thanks.