About Store Forum Documentation Contact



Post Reply 
I am fed up with ragdoll problem
Author Message
tipforeveryone Offline
Bronze Supporter

Post: #1
I am fed up with ragdoll problem
It took me too much time to optimize ragdoll physic for my characters
Regardless how much effort, ragdoll still dance like hell

Is there any a real GUIDE for a smooth ragdoll ? or any note any suggestion to solve 'break dance' ragdoll

Why physic works so well but ragdoll.
Look at this...
https://youtu.be/LWYIxVRMvXw
04-04-2021 11:29 AM
Find all posts by this user Quote this message in a reply
Argoon Offline
Member

Post: #2
RE: I am fed up with ragdoll problem
If the case, make sure the ragdoll Collison proxies don't collide with each other, only the world this is what's probably causing the ragdoll spasms.

Btw disabling self collision for the ragdoll, will also have a nasty side effect that is the ragdoll parts will interpenetrate each other, so you need to make sure to put good movement limits in the ragdoll joints to prevent that.
04-04-2021 02:17 PM
Find all posts by this user Quote this message in a reply
KrysleQuinsen Offline
Member

Post: #3
RE: I am fed up with ragdoll problem
Another idea is to add more damping or gradually increase it when the ragdoll started on either ragdoll or ragdoll's bone actor, so it will move slower, heavier and less likely to dance, also less likely to get launched when they piled up or walking on them.
(This post was last modified: 04-06-2021 02:55 AM by KrysleQuinsen.)
04-06-2021 02:53 AM
Find all posts by this user Quote this message in a reply
Dwight Offline
Member

Post: #4
RE: I am fed up with ragdoll problem
I haven't look at the source code for it, but what is the effect of gravity on the ragdoll? What happens if you double the gravity?
04-06-2021 09:46 AM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #5
RE: I am fed up with ragdoll problem
Hi,
Ragdoll creation is here:
https://github.com/Esenthel/EsenthelEngi...l.cpp#L137
Which uses joints here:
https://github.com/Esenthel/EsenthelEngi...t.cpp#L474
createBodyHinge
createBodySpherical
Later here and here:
https://github.com/Esenthel/EsenthelEngi...t.cpp#L195
https://github.com/Esenthel/EsenthelEngi...t.cpp#L238
You could experiment with modifying the source code.
I remember ragdoll worked more stable in older physx versions, maybe engine ragdoll/joint codes need to be tweaked for the newer version. But I'm too busy with other things at the moment to look into that now.
04-11-2021 09:16 AM
Find all posts by this user Quote this message in a reply
tipforeveryone Offline
Bronze Supporter

Post: #6
RE: I am fed up with ragdoll problem
you need to remake this awesome ragdoll feature asap :( you know it is really unique, and it must be at it finest state !!! Please
08-16-2021 12:18 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #7
RE: I am fed up with ragdoll problem
I wish, however I have to focus on something to bring more income at the moment smile
08-16-2021 03:40 PM
Find all posts by this user Quote this message in a reply
Argoon Offline
Member

Post: #8
RE: I am fed up with ragdoll problem
I hope Esenthel don't mind me mentioning and posting links of other engines here but if someone reads this and think in UE4 or even Unity, ragdolls work flawlessly then you should read the following, this guy is making his game on UE4.
https://outofhell.net/2021/08/13/all-par...e-process/

And Unity3D 5
https://forum.unity.com/threads/how-can-...ut.328348/

Making ragdolls work well, is a surprisingly trick business no matter the engine.
08-18-2021 04:19 PM
Find all posts by this user Quote this message in a reply
Fluxor Offline
Member

Post: #9
RE: I am fed up with ragdoll problem
Strange. UE4 Ragdoll works quite nicely for me.
09-01-2021 01:10 AM
Find all posts by this user Quote this message in a reply
tipforeveryone Offline
Bronze Supporter

Post: #10
RE: I am fed up with ragdoll problem
FLYYYYY YAY !!! Seriously...
https://www.youtube.com/watch?v=Vzw36HpS7Zw
(This post was last modified: 09-23-2021 03:54 PM by tipforeveryone.)
09-23-2021 03:54 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #11
RE: I am fed up with ragdoll problem
Cool effect wink
Default esenthel tutorial ragdoll has some shakiness / issues but not so big like yours. So you could try to investigate more, your own codes and ragdoll setup in the editor.
Sorry but at the current state of donations I can't improve/investigate ragdolls at the moment.
Now I'm focusing to finish my game - https://facebook.com/DungeonHeroRPG
The way to go would be probably google for some PhysX ragdoll tutorial source code, and try to replicate the code in the engine.
Sorry that I can't be more helpful about this right now.
09-23-2021 04:35 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #12
RE: I am fed up with ragdoll problem
A simple workaround is just skip ragdoll and use some death animation. That will work good enough.
09-23-2021 05:12 PM
Find all posts by this user Quote this message in a reply
RedcrowProd Offline
Member

Post: #13
RE: I am fed up with ragdoll problem
Is there any plan in the near future to update physx to 4.x and add the missing physx module ?

Maybe an idea of when that would be implemented might help find the temporary solution

I can understand some of the frustration that has been coming off this thread regarding
the ragdoll. it is not in everyone coding toolbox to be able to pull that off
(This post was last modified: 09-23-2021 06:13 PM by RedcrowProd.)
09-23-2021 06:12 PM
Find all posts by this user Quote this message in a reply
KrysleQuinsen Offline
Member

Post: #14
RE: I am fed up with ragdoll problem
(09-23-2021 03:54 PM)tipforeveryone Wrote:  FLYYYYY YAY !!! Seriously...
https://www.youtube.com/watch?v=Vzw36HpS7Zw
On the flip side, making B-boying are easy, looks cool, and of the chart!
Though I wonder what is your Ragdoll bone and AG_RAGDOLL collision group look like because I never experienced those yet, just a bit of bouncy.

(09-23-2021 04:35 PM)Esenthel Wrote:  Now I'm focusing to finish my game - https://facebook.com/DungeonHeroRPG
I thought you're working on World of Esenthel. Wonder if my android save file is still around.
09-27-2021 10:08 AM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #15
RE: I am fed up with ragdoll problem
I'm working on both remake of the dungeon game, and World of Esenthel.
Dungeon remake will be released in a couple months, and World of Esenthel later, because that's a much bigger project.
Remake will not support older savegame files wink Too much has changed.
09-27-2021 10:50 AM
Find all posts by this user Quote this message in a reply
Post Reply