Search found 17 matches

by happyer
Sun Jan 13, 2008 3:01 pm
Forum: Beginners Help
Topic: setVisible problem
Replies: 2
Views: 122

setVisible problem

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 ...
by happyer
Mon Dec 31, 2007 8:04 am
Forum: Beginners Help
Topic: Rotate the ICharacterController
Replies: 0
Views: 202

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 joint...
by happyer
Wed Dec 26, 2007 8:43 am
Forum: Beginners Help
Topic: multiple meshes with same animation
Replies: 2
Views: 316

My mesh contain multiple animation, namely walk, jump, hit..... and I usually use mesh1->setCurrentAnimation("jump"); mesh2->setCurrentAnimation("hit"); I have tested the frame number by using sceneNode1 = smgr->addAnimatedMeshSceneNode(mesh1); while (true) printf("%i\n"...
by happyer
Wed Dec 26, 2007 7:17 am
Forum: Beginners Help
Topic: multiple meshes with same animation
Replies: 2
Views: 316

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 an...
by happyer
Thu Sep 13, 2007 4:49 pm
Forum: Beginners Help
Topic: attach weapon
Replies: 0
Views: 276

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.
by happyer
Thu Sep 13, 2007 7:38 am
Forum: Beginners Help
Topic: different representation in getRotation
Replies: 0
Views: 292

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 afte...
by happyer
Tue Sep 11, 2007 6:07 am
Forum: Beginners Help
Topic: irrNewt problem
Replies: 5
Views: 535

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!!
by happyer
Tue Sep 11, 2007 12:39 am
Forum: Beginners Help
Topic: irrNewt problem
Replies: 5
Views: 535

Thanks for answering. But I don't understand what you mean by You will have to recompile either your app with the Irrlicht version of the Irrnewt.dll, or port irrnewt to the latest Irrlicht version. What are the steps to do this? Moreover, I am using irrlicht 1.3.1, newton 1.53 and irrnewt 0.4, is t...
by happyer
Mon Sep 10, 2007 4:43 pm
Forum: Beginners Help
Topic: irrNewt problem
Replies: 5
Views: 535

I have changed my program to IrrlichtDevice *device=createDevice(video::EDT_DIRECT3D9); ISceneManager* smgr=device->getSceneManager(); IVideoDriver* driver=device->getVideoDriver(); //load a bsp quake map device->getFileSystem()->addZipFileArchive("media/level/map-20kdm2.pk3"); scene::IAni...
by happyer
Mon Sep 10, 2007 1:27 pm
Forum: Beginners Help
Topic: irrNewt problem
Replies: 5
Views: 535

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 "Unhandle...
by happyer
Sun Sep 09, 2007 1:07 pm
Forum: Beginners Help
Topic: newton ragdoll or cube
Replies: 1
Views: 236

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.
by happyer
Mon Sep 03, 2007 9:32 am
Forum: Beginners Help
Topic: CollisionResponse problem
Replies: 2
Views: 288

any suggestions?
by happyer
Sun Sep 02, 2007 8:02 am
Forum: Beginners Help
Topic: CollisionResponse problem
Replies: 2
Views: 288

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 ...
by happyer
Wed Aug 29, 2007 11:26 am
Forum: Everything 2d/3d Graphics
Topic: pivot problem?
Replies: 2
Views: 1442

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 whol...
by happyer
Tue Aug 21, 2007 2:00 pm
Forum: Beginners Help
Topic: character move diagonally
Replies: 1
Views: 274

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...