3 registered members (Ayumi, Akow, AndrewAMD),
1,505
guests, and 9
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Ragdoll Template [New version]
#309879
02/11/10 19:20
02/11/10 19:20
|
Joined: Jan 2004
Posts: 3,023 The Netherlands
Helghast
OP
Expert
|
OP
Expert
Joined: Jan 2004
Posts: 3,023
The Netherlands
|
Hi people! I finally came around to add ragdoll blending and update the previous ragdoll scripts into a Template (thanks to help from EvilSOB). I have uploaded a testdemo for people to see the ragdoll blending from any last animation frame. The demo has the sourcescripts included, so you can copy/paste that for your needs. However to the people with less bandwidth, I have uploaded the ragdoll template seperately (and the script that creates the ragdoll to see how it works). So without further ado; here are the download links to the demo and source. Ragdoll blending Demo Ragdoll Template sourcecode controls: R - to turn character into ragdoll... that's all! Have fun, and I love feedback!
|
|
|
Re: Ragdoll Template [New version]
[Re: Helghast]
#309882
02/11/10 19:32
02/11/10 19:32
|
Joined: Sep 2009
Posts: 496
Progger
Senior Member
|
Senior Member
Joined: Sep 2009
Posts: 496
|
hi helghast thx for this ragdoll code (: Can u make a tut how to use ragdoll because i do not know how to use this on other models This would be great With friendly Greetings programmer
|
|
|
Re: Ragdoll Template [New version]
[Re: Progger]
#309883
02/11/10 19:33
02/11/10 19:33
|
Joined: Oct 2007
Posts: 5,210 İstanbul, Turkey
Quad
Senior Expert
|
Senior Expert
Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
|
nice, ill try this out with some other models this weekend.
3333333333
|
|
|
Re: Ragdoll Template [New version]
[Re: Rei_Ayanami]
#309891
02/11/10 19:51
02/11/10 19:51
|
Joined: Jan 2004
Posts: 3,023 The Netherlands
Helghast
OP
Expert
|
OP
Expert
Joined: Jan 2004
Posts: 3,023
The Netherlands
|
hi helghast thx for this ragdoll code (: Can u make a tut how to use ragdoll because i do not know how to use this on other models This would be great I will eventually, but not very soon... Work and girlfriend take time as well nice, ill try this out with some other models this weekend. Show us how that went! Nice, but you should definitly reset the physics for the objects after it doesen't really move anymore - else it eats too many frames xD Yes, I agree... But the whole code is unoptimised yet i can implement alot more of these, but simply wanted to get something out people can work with again thanks! regards,
|
|
|
Re: Ragdoll Template [New version]
[Re: darkinferno]
#309964
02/12/10 10:47
02/12/10 10:47
|
Joined: Jan 2004
Posts: 3,023 The Netherlands
Helghast
OP
Expert
|
OP
Expert
Joined: Jan 2004
Posts: 3,023
The Netherlands
|
this is quite nice, tho i already accomplished blending, dont know who's is faster though, i'll definately look into this Hehehee, I had achieved it in the previous version on A6 as well... was too lazy to convert it over though, finally got round to it (was the easiest script ever, literally just 4 lines added). Let me know who's is faster, and how you did your ragdoll if different I love to learn new techniques! regards,
|
|
|
Re: Ragdoll Template [New version]
[Re: Helghast]
#310157
02/13/10 12:25
02/13/10 12:25
|
Joined: May 2009
Posts: 1,816 at my pc (duh)
darkinferno
Serious User
|
Serious User
Joined: May 2009
Posts: 1,816
at my pc (duh)
|
this is quite nice, tho i already accomplished blending, dont know who's is faster though, i'll definately look into this Hehehee, I had achieved it in the previous version on A6 as well... was too lazy to convert it over though, finally got round to it (was the easiest script ever, literally just 4 lines added). Let me know who's is faster, and how you did your ragdoll if different I love to learn new techniques! regards, ok, well here's one lovely thing that i did, i calculated the speed of the entity then used that speed to apply a force to the ragdoll when spawned so if your running forward and get shot, you wont just fall down but fly forward and drop on your face [looks alot better]
|
|
|
Re: Ragdoll Template [New version]
[Re: darkinferno]
#310158
02/13/10 13:01
02/13/10 13:01
|
Joined: Jan 2004
Posts: 3,023 The Netherlands
Helghast
OP
Expert
|
OP
Expert
Joined: Jan 2004
Posts: 3,023
The Netherlands
|
this is quite nice, tho i already accomplished blending, dont know who's is faster though, i'll definately look into this Hehehee, I had achieved it in the previous version on A6 as well... was too lazy to convert it over though, finally got round to it (was the easiest script ever, literally just 4 lines added). Let me know who's is faster, and how you did your ragdoll if different I love to learn new techniques! regards, ok, well here's one lovely thing that i did, i calculated the speed of the entity then used that speed to apply a force to the ragdoll when spawned so if your running forward and get shot, you wont just fall down but fly forward and drop on your face [looks alot better] Ah, nice! But that's a dependancy per project, something that not all games will want. So if a user wants that he'll have to do that himself. I made the template to create ragdolls, how you apply a force to that is up to the user himself regards,
|
|
|
|