playMaker

Author Topic: Ragdoll problem  (Read 3443 times)

Splankton

  • Sr. Member
  • ****
  • Posts: 268
Ragdoll problem
« on: July 11, 2015, 06:42:48 AM »
Hi,
I have a simple character that dies, then I disable it, enable ragdoll at the characters position/rotation, let the ragdoll do its thing and disable ragdoll.
Then, I have the character spawn in a new position, but when it dies again, my ragdoll seems to spawn there or there abouts with its bones scaled incorrectly and it all looks wrong.
I've read some other ragdoll posts and I cant seem to find a solution for my problem.
Can anyone help me with where I'm going wrong?

Splankton

  • Sr. Member
  • ****
  • Posts: 268
Re: Ragdoll problem
« Reply #1 on: July 13, 2015, 10:45:03 AM »
Anyone?

terri

  • Sr. Member
  • ****
  • Posts: 386
    • terrivellmann.tumblr.com
Re: Ragdoll problem
« Reply #2 on: July 13, 2015, 11:30:30 AM »
It's hard to tell without knowing how it's set up. The weird scaling sounds like it's related to parenting, is that possible? Maybe reset the local scales and positions before spawning it again.

Splankton

  • Sr. Member
  • ****
  • Posts: 268
Re: Ragdoll problem
« Reply #3 on: July 13, 2015, 02:28:54 PM »
Thanks, I'll check all local postions/rotations/scale.  I'm hoping I dont have to reset each of the characters bones  :o

terri

  • Sr. Member
  • ****
  • Posts: 386
    • terrivellmann.tumblr.com
Re: Ragdoll problem
« Reply #4 on: July 13, 2015, 02:31:41 PM »
You probably do, I don't see how it'd reset by itself.

Try this: http://hutonggames.com/playmakerforum/index.php?topic=1129.0

Splankton

  • Sr. Member
  • ****
  • Posts: 268
Re: Ragdoll problem
« Reply #5 on: July 13, 2015, 04:20:24 PM »
Yes tried that but I'm using Unity 5. That capture action doesn't work.