bone animations
bone animations
Hi,
I had a search and found that there is still no way to set the angles of a bone manualy !!!
So, has someone figured out how to manipulate a bone anim ???
I want to create ragdolls (Newton) and now I have only the choise to create every body part as an single mesh...
I had a search and found that there is still no way to set the angles of a bone manualy !!!
So, has someone figured out how to manipulate a bone anim ???
I want to create ragdolls (Newton) and now I have only the choise to create every body part as an single mesh...
while(!asleep) sheep++;
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
I'm doing it with a callback, I set the callback in the scene nodes that pass it as a parameter of getmesh(),that passes it to animateSkeleton().
And of course the callback sets the transformation of bones.
It would be simplier to add a procedure like setBoneRotation, but it is not possible since the meshes are shared between the scene nodes.
And of course the callback sets the transformation of bones.
It would be simplier to add a procedure like setBoneRotation, but it is not possible since the meshes are shared between the scene nodes.
Well, I see...
But how to do this ???
I'm something missing...
Could you give me a little example, please ???
But how to do this ???
I'm something missing...
Could you give me a little example, please ???
while(!asleep) sheep++;
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
Well, I want to use bones and if there is no other way for...
Yes, post it, please
It would be great, if Nico adds a feature to manipulate the bones to the engine, wouldn't it?
thx, Acki
Yes, post it, please
It would be great, if Nico adds a feature to manipulate the bones to the engine, wouldn't it?
thx, Acki
while(!asleep) sheep++;
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
I've uploaded a zip file with a step-by-step help on how to modify the engine. The complete source of my version of the engine is included if you have some problems with modifications or if I've missed something in the help file.
That's a modification of Irrlicht version 0.10, but it should work with newer versions of the engine (or older).
I hope this can help you.
You can download the zip here:
http://web.infinito.it/utenti/p/phenix1/toSetJoints.zip
That's a modification of Irrlicht version 0.10, but it should work with newer versions of the engine (or older).
I hope this can help you.
You can download the zip here:
http://web.infinito.it/utenti/p/phenix1/toSetJoints.zip
@Midnight:
well, another little type mismatch...
@Phenix:
great, I'll check this out
thank you verry much !!!
well, another little type mismatch...
@Phenix:
great, I'll check this out
thank you verry much !!!
while(!asleep) sheep++;
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
Yeah, you gave me a great hint !!!
I wrote a private message to you, for more infos...
thx a 1000k !!!
I wrote a private message to you, for more infos...
thx a 1000k !!!
while(!asleep) sheep++;
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
Well, with your method all nodes, that uses this mesh, are affected !!!
I created a new IAnimatedMeshSceneNode class that supports bone control for every single node !!!
You can download a demo and all changed source files at:
http://people.freenet.de/abusoft
!!! check this out !!!
@Niko: sorry for my eMail !!! Well, I have overlooked something, but now it really works !!!
I created a new IAnimatedMeshSceneNode class that supports bone control for every single node !!!
You can download a demo and all changed source files at:
http://people.freenet.de/abusoft
!!! check this out !!!
@Niko: sorry for my eMail !!! Well, I have overlooked something, but now it really works !!!
while(!asleep) sheep++;
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
i had the same bug 2
how did u solve it
http://irrlicht.sourceforge.net/phpBB2/ ... php?t=8805
btw
any demos
how did u solve it
http://irrlicht.sourceforge.net/phpBB2/ ... php?t=8805
btw
any demos
Will this be added to Irrlicht? I'll change my callback-based code
Now I don't have to make a demo anymore
Btw, I didn't understand it from your previous post (damned beer) : did your code have that bug?
@omaremad: Imho you can solve your problem with Acki's code, the transformations of joints are stored in the scenenodes, use these instead of the transformations stored in the mesh.
Now I don't have to make a demo anymore
Btw, I didn't understand it from your previous post (damned beer) : did your code have that bug?
@omaremad: Imho you can solve your problem with Acki's code, the transformations of joints are stored in the scenenodes, use these instead of the transformations stored in the mesh.