Posted By: Childair
Ragdoll Physic - 11/08/06 16:52
Just a sudjestion would be a way to apply the gravity to the body of an antity while at the same time make the squeletton of the character been movable on all physical object.
An exemple of this physic is games like half life 2, flaout, saint's rows and im sure many other title.
Childair
Posted By: HeelX
Re: Ragdoll Physic - 11/08/06 17:23
It is possible to create a skeleton controlled by the A6 physics engine by the use of hinges and balls. Then you can apply it to a boned mesh. It's just work.
Posted By: PHeMoX
Re: Ragdoll Physic - 11/08/06 17:45
Disadvantage is that you'd have to make models from totally separate models right? One foot, one leg, one lower/upper body , upper and lower arms and hands ? Could this be done with invisible physics objects somehow? I haven't looked into this that much yet, but it would be cool..
Cheers
Posted By: HeelX
Re: Ragdoll Physic - 11/08/06 18:00
"Then you can apply it to a boned mesh."
As I said, you can apply the physics skeleton simulation onto the boned model. So you have _one_ model but with a bone skeleton. This has an advantage (visually) over sub-meshes, naturally.
Posted By: Dyc
Re: Ragdoll Physic - 11/08/06 18:20
It took me 3 hours to create a convincing ragdoll setup in TV3D in C#. I have been trying to do something similar with A6 without much success. First of all phcon_getposition returns weird results if you create more than 5 hinge constraints, I tried to transform the "hips" bone using ent_bonemove but this seems to translate the bones position in model space not world space, and last but not least the ball constrain can not have any limits in A6 you would have to use only hinge constrains. If anyone has an Idea how to solve this I will be glad to hear it.
Posted By: Dyc
Re: Ragdoll Physic - 11/08/06 23:14
It has constraint limits, just not on the ball joint.
Posted By: PHeMoX
Re: Ragdoll Physic - 11/09/06 02:04
Aah, so it is possible to make a physics skeleton, well, that's great, I'm going to look into this a bit more.
Cheers
Posted By: Childair
Re: Ragdoll Physic - 11/09/06 03:58
If anyone have clues how i could manage to create even a basic physic with a 2 bone squeletton would be greatly appreciated.
Maybe give an tutorial how to build one would be really nice.
Thankx alote for the discution guys.
Childair
Posted By: HeelX
Re: Ragdoll Physic - 11/09/06 05:16
I did it for REVOgames, I have to ask if I could release a demo video or such (NDA reasons).
Posted By: TWO
Re: Ragdoll Physic - 11/09/06 12:52
As I looked at Newton some time ago there was a kind of ragdoll teddy?
Posted By: Shadow969
Re: Ragdoll Physic - 11/09/06 18:35
you can't create it at runtime but you can add hmm... i used 10 ragdoll bodies and then set their positions to dead bodies and activated them, it was not very difficult
Posted By: HeelX
Re: Ragdoll Physic - 11/09/06 18:41
"you can't create it at runtime"
How do you come to this conclusion?
Posted By: Shadow969
Re: Ragdoll Physic - 11/09/06 18:48
in newton physics you have to group child and parent bodyparts in a special order using WED, and i don't know how to add entities created in runtime into groups