Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > irrEdit
How to join (link) a suitcase to an animated actor?

nobby
Registered User
Quote
2012-07-22 18:14:18

Hi all

I have an amimated human model in MD2, FBX, and X format.
Now I want to join a suitcase to one hand of the model.
The suitcase should follow the movment of the actor's hand.

I assume this is only possible with the X model.

Is it possible - and if yes how - to merge 2 ore more 3D models?

Any hint is welcome.

Thx, Nobby


niko
Moderator
Quote
2012-07-22 21:46:10

Hi,

within the editor, this isn't possible. But Irrlicht has an API to attach scene nodes to certain joints of .MS3D and .X files. That's what you are looking for.


nobby
Registered User
Quote
2012-07-25 01:17:03

Nico thank you.

Do you know what name this API call has?

Nobby


niko
Moderator
Quote
2012-07-25 09:50:17

Yes, use
irr::scene::IAnimatedMeshSceneNode::getJointNode("yourJointName")

to get a scene node representing the joint, and then simply add your scene node as child to that joint.


nobby
Registered User
Quote
2012-08-02 07:29:25

Thanks Nico


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Intern?tional" (you are not logged in)


Text:

 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   






Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact