Search found 24 matches

by pir
Sun May 10, 2009 6:47 pm
Forum: Beginners Help
Topic: How do I pick different parts of a animated mesh?
Replies: 9
Views: 936

Ok, I found the problem. I shouldn't use SJoint::Animatedpos. I should use the transfomration matrix from the SJoint instead.
by pir
Sun May 10, 2009 6:16 pm
Forum: Beginners Help
Topic: How do I pick different parts of a animated mesh?
Replies: 9
Views: 936

Well, I thought that I had done it... but I have problems finding the correct bone. I think that it is caused by different transformation spaces... maybe. Thats only speculation. Here is my code for finding the closest bone: scene::IAnimatedMesh* animMesh = m_mesh->getMesh( ); assert( animMesh->getM...
by pir
Sun May 10, 2009 3:49 pm
Forum: Beginners Help
Topic: How do I pick different parts of a animated mesh?
Replies: 9
Views: 936

thanks, but I did it myself.

BR
pir
by pir
Sun May 10, 2009 3:10 pm
Forum: Beginners Help
Topic: Collision detection on animated mesh
Replies: 6
Views: 1370

Collision detection on animated mesh

Hi! I can't find any information about how to setup a selector on an animated mesh. I've tried to use ISceneManager::createTriangleSelector(). But the collision is only registered at the start pose of the mesh. How do I create a selector that do collision detection on the active pose of the mesh ani...
by pir
Sun May 10, 2009 12:19 pm
Forum: Beginners Help
Topic: How do I pick different parts of a animated mesh?
Replies: 9
Views: 936

Is there any functionality in Irrlicht that can help me finding the bone closest to my selected triangle?
by pir
Wed May 06, 2009 7:02 pm
Forum: Beginners Help
Topic: How do I pick different parts of a animated mesh?
Replies: 9
Views: 936

Yes, thats what I want to do. I was thinking about doing it the way you described, was just hoping that there were some easier way to do it with bounding boxes. But since I can't make it work, I'll guess I should give it a try.

thanks
by pir
Sun May 03, 2009 9:11 pm
Forum: Beginners Help
Topic: How do I pick different parts of a animated mesh?
Replies: 9
Views: 936

No, it is only one big skinned mesh. For example, the dwarf model that is included in the Irrlicht examples. I've found that it is possible to get the uppdated bounding boxes by using irr::scene::IBoneSceneNodegetTransformedBoundingBox(). But I'm not sure that these are the bounding boxes that are u...
by pir
Sun May 03, 2009 7:32 pm
Forum: Beginners Help
Topic: How do I pick different parts of a animated mesh?
Replies: 9
Views: 936

How do I pick different parts of a animated mesh?

I want to be able to pick different parts on an animated mesh. What is the easiest way to do this? I tried to use the bounding boxes of the scene::IBoneSceneNode in combination with ISceneManager::getSceneNodeFromScreenCoordinatesBB to pick arms legs etc. It seems like the bounding boxes are not up...
by pir
Wed Apr 29, 2009 8:24 pm
Forum: Beginners Help
Topic: What screen coordinate system is used in Irrlicht?
Replies: 7
Views: 476

What screen coordinate system is used in Irrlicht?

I'm trying to do pick selection by using ISceneCollisionManager::getSceneNodeFromScreenCoordinatesBB. What is the screen coordinate system used when defining the screen coordinates to use? Is the coordinates of the upper left corner (0,0) and lower right (width, height)? I've tried to search the for...