Hello, for those who remember me, we've made some progress in the game we're making and we're looking for some eye candy now ;D.
Here's the thing:
I've an animated walking zombie i animated using a biped and the skin modifier. Now i want to make the zombie split in half, to use when the player cuts a zombie with the katana.
I tried deattaching the legs from the torso and re-attaching the legs to the torso to be able to select both parts with the element option of the polygon modifier (i'm using 3dmax btw) and tried to animate the mesh separately, but since i'm using md2 format to export i need some bones to control the mesh.
I tried using 2 diferent bipeds, one controls the torso and the other controls the legs. I also separated the mesh in two elements and reattached one of them to the other so that i've only ONE mesh that has both parts to select through the element option.
The problem is that when i try to separate the legs from the torso using the 2nd biped, instead of separating the parts it just stretches the whole mesh.
I've already checked the envelopes so that each biped affects it's corresponding part (the legs biped affects the legs and the torso one the torso).
Any suggestions?
How to animate a splitting in half mesh
Not exact sure about the problem here - is it a problem in the engine or in 3dmax? But maybe - use different objects. You have one object with a "whole" zombie. And once he is cut up you have two new objects with the two halves of a zombie. On cutting you remove the old object and place two new object at the same position.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
-
- Posts: 30
- Joined: Wed Sep 10, 2008 9:04 pm
I've seen demos of PhysX cutting a curtain in two. So maybe you should take a look at PhysX or IrrPhysX.
Iirc you wouldn't have to deal with the mesh beacause the physics engine does the vertex manipulation.
Iirc you wouldn't have to deal with the mesh beacause the physics engine does the vertex manipulation.
Software documentation is like sex. If it's good you want more. If it's bad it's better than nothing.
cutting through a simple plane, and cutting through a complex mesh is two different story...
in my opinion, you have to model two different meshes, place exact there where your model was, and make them fly after that (maybe with physics or just animation, or somehow)
but i dont think there are any technics what make your zombi split into two zombi xD (you know, if you cut a zombi, it wouldnt be a sharp edge, but the inner objects would come out, the flesh will scratch and so on. physX WONT do that.)
in my opinion, you have to model two different meshes, place exact there where your model was, and make them fly after that (maybe with physics or just animation, or somehow)
but i dont think there are any technics what make your zombi split into two zombi xD (you know, if you cut a zombi, it wouldnt be a sharp edge, but the inner objects would come out, the flesh will scratch and so on. physX WONT do that.)
http://de.truveo.com/ageia-physx-demo-v ... 3355377049
From 0:45 to the end.
These aren't "simple planes"
But yeah it will only cut the mesh in half. You have to do the rest of the effect yourself
From 0:45 to the end.
These aren't "simple planes"
But yeah it will only cut the mesh in half. You have to do the rest of the effect yourself
Software documentation is like sex. If it's good you want more. If it's bad it's better than nothing.
-
- Posts: 30
- Joined: Wed Sep 10, 2008 9:04 pm
Thanks for the info. I've already tell the programmer to look for that.
I've another problem now.
I've exported my animated "bone" mesh in the md2 format but it explodes when we try to use it. If i export the same mesh in the b3d format, we can use it just fine.
I don't know what could be happening, because if i use a biped instead of bones, the md2 format works just fine =X
Any ideas?
I've another problem now.
I've exported my animated "bone" mesh in the md2 format but it explodes when we try to use it. If i export the same mesh in the b3d format, we can use it just fine.
I don't know what could be happening, because if i use a biped instead of bones, the md2 format works just fine =X
Any ideas?