My .x mesh has an animation. I use getAbsolutePosition() to find the location of a joint node. It works when normal. However, when I set the scene node that use the mesh to invisible, by setVisible(false). The getAbsolutePosition() no longer correct.
I have tried to use updateAbsolutePosition(), it ...
Search found 17 matches
- Sun Jan 13, 2008 3:01 pm
- Forum: Beginners Help
- Topic: setVisible problem
- Replies: 2
- Views: 195
- Mon Dec 31, 2007 8:04 am
- Forum: Beginners Help
- Topic: Rotate the ICharacterController
- Replies: 0
- Views: 272
Rotate the ICharacterController
In irrnewt, how to change the IJointUpVector after creating the ICharacterController? Since I want to make a person who will sometimes lie down and sometimes stand up. But I have lock all the 3 axis of the joint of the CharacterController already when creating it by
irr::newton::SJointUpVector ...
irr::newton::SJointUpVector ...
- Wed Dec 26, 2007 8:43 am
- Forum: Beginners Help
- Topic: multiple meshes with same animation
- Replies: 2
- Views: 385
- Wed Dec 26, 2007 7:17 am
- Forum: Beginners Help
- Topic: multiple meshes with same animation
- Replies: 2
- Views: 385
multiple meshes with same animation
I have meshes, say
mesh1 = (irr::scene::IAnimatedMeshX*) smgr->getMesh("monster.x");
mesh2 = (irr::scene::IAnimatedMeshX*) smgr->getMesh("monster.x");
but when i set only one of them to have animation,
mesh1->setCurrentAnimation("jump");
both of them will do the same animation.
I have searched ...
mesh1 = (irr::scene::IAnimatedMeshX*) smgr->getMesh("monster.x");
mesh2 = (irr::scene::IAnimatedMeshX*) smgr->getMesh("monster.x");
but when i set only one of them to have animation,
mesh1->setCurrentAnimation("jump");
both of them will do the same animation.
I have searched ...
- Thu Sep 13, 2007 4:49 pm
- Forum: Beginners Help
- Topic: attach weapon
- Replies: 0
- Views: 323
attach weapon
Anyone knows does newton or IrrNewt has the function to attach one body onto another body? For example to attach a weapon onto the hand? I know how to do it in irrlicht but don't know how to do it in physics engine.
- Thu Sep 13, 2007 7:38 am
- Forum: Beginners Help
- Topic: different representation in getRotation
- Replies: 0
- Views: 332
different representation in getRotation
I discover something. When I setRotation() on ISceneNode, then getRotation(), the angle returned will be (0, angle, 0). But when I use IrrNewt, and use setRotation() on ICharacterController, then getRotationBody(), the angle returned will be (180, f(angle), 180) where f(x) is the value of angle ...
- Tue Sep 11, 2007 6:07 am
- Forum: Beginners Help
- Topic: irrNewt problem
- Replies: 5
- Views: 694
can anyone please tell me what is recompile the dll and library? i have included them already and press the debug button, is it correct? or can anyone give me the dll and library that can solve this problem.
email: happyer9_9@yahoo.com.hk
many thanks!!
email: happyer9_9@yahoo.com.hk
many thanks!!
- Tue Sep 11, 2007 12:39 am
- Forum: Beginners Help
- Topic: irrNewt problem
- Replies: 5
- Views: 694
- Mon Sep 10, 2007 4:43 pm
- Forum: Beginners Help
- Topic: irrNewt problem
- Replies: 5
- Views: 694
- Mon Sep 10, 2007 1:27 pm
- Forum: Beginners Help
- Topic: irrNewt problem
- Replies: 5
- Views: 694
irrNewt problem
I would like to know does irrNewt 0.4 support irrlicht 1.3.1? I use the following code
IrrlichtDevice *device = createDevice(EDT_DIRECT3D9);
irr::newton::IWorld* p_world = irr::newton::createPhysicsWorld(device);
but immediately after the createPhysicsWorld line, the compiler say that "Unhandled ...
IrrlichtDevice *device = createDevice(EDT_DIRECT3D9);
irr::newton::IWorld* p_world = irr::newton::createPhysicsWorld(device);
but immediately after the createPhysicsWorld line, the compiler say that "Unhandled ...
- Sun Sep 09, 2007 1:07 pm
- Forum: Beginners Help
- Topic: newton ragdoll or cube
- Replies: 1
- Views: 326
newton ragdoll or cube
Maybe just a simple question. If I have a character, should I make it as a newton cube or ragdoll?
Seems that making a ragdoll is complicated. Do I need to follow the MeciorTutorial to make an irrbox? As he said that his mesh X file isn't work, but mine can work.
Thanks.
Seems that making a ragdoll is complicated. Do I need to follow the MeciorTutorial to make an irrbox? As he said that his mesh X file isn't work, but mine can work.
Thanks.
- Mon Sep 03, 2007 9:32 am
- Forum: Beginners Help
- Topic: CollisionResponse problem
- Replies: 2
- Views: 349
- Sun Sep 02, 2007 8:02 am
- Forum: Beginners Help
- Topic: CollisionResponse problem
- Replies: 2
- Views: 349
CollisionResponse problem
If my game has many characters in a small room, and each of them needs to be affected by collision and gravity, so I should do a createCollisionResponseAnimator for each of them? However, I add one character the animator, and the fps is around 25 already. I add two and it becomes 10. There is a big ...
- Wed Aug 29, 2007 11:26 am
- Forum: Everything 2d/3d Graphics
- Topic: pivot problem?
- Replies: 2
- Views: 1609
pivot problem?
I am using 3ds max8. I have drawn a chest with a cover. It has an animation such that the cover will open around the hinge. And I have two problems...
1. after I export to .x file using panda exporter, I import it into the irrEdit. However, the animation style is different from what I want. The ...
1. after I export to .x file using panda exporter, I import it into the irrEdit. However, the animation style is different from what I want. The ...
- Tue Aug 21, 2007 2:00 pm
- Forum: Beginners Help
- Topic: character move diagonally
- Replies: 1
- Views: 334
character move diagonally
My program will use WASD to control the movement of a character. It can go forward, backward, left and right. But I don't know how to write the code for the character to move diagonally. Since when I press a button, then another button, the first button memory will be gone. So what should I do? I am ...