playMaker

Author Topic: Playmaker and Ragdolls  (Read 3288 times)

beowulfkaine

  • Playmaker Newbie
  • *
  • Posts: 47
Playmaker and Ragdolls
« on: July 02, 2017, 07:36:59 PM »
Hey, everyone, I've been looking around and I'm not sure if I'm just looking for the wrong search topic or what, so sorry if its covered somewhere I missed it.  Essentially I want to have my NPC running then when he gets hit with a collider have him turn into a ragdoll.  Ideally, if it's possible to get the last frame of his animation and use that as the base of the ragdoll falling position.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Playmaker and Ragdolls
« Reply #1 on: July 03, 2017, 02:34:12 AM »
Hi,

 RagDoll is very complex, and I strongly recommand using this:

https://www.assetstore.unity3d.com/en/#!/content/48977

Or other solutions, but at least something with a framework, otherwise it's going to be very difficult.

Bye,

 Jean

tcmeric

  • Beta Group
  • Hero Member
  • *
  • Posts: 768
Re: Playmaker and Ragdolls
« Reply #2 on: July 03, 2017, 05:28:28 AM »
Puppet master is pretty pricey.

I made a tutorial for hit reaction pro, which also includes a general death rag doll function.
https://www.assetstore.unity3d.com/en/#!/content/46513
25$


Playmaker actions: https://github.com/dumbgamedev/hitmanager_playmaker

My tutorial didnt cover a collider per se, but it can be done without too much work I think.

Try the action "start rag doll".

Make sure not to import this asset into your project directly, as it will add new layers/tags for the demos.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Playmaker and Ragdolls
« Reply #3 on: July 04, 2017, 02:33:35 AM »
Hi,

 Excellent, thanks tcmeric for all the work you do!

 Bye,

 Jean

tcmeric

  • Beta Group
  • Hero Member
  • *
  • Posts: 768
Re: Playmaker and Ragdolls
« Reply #4 on: August 03, 2017, 03:04:15 AM »
Ive added another tutorial and custom action. You can see/get it all here from my youtube channel.

In this short tutorial I show how to use this ragdoll manager with a physics based rigidbody collision. This action can be applied to any physics based rigidbody gameobject and when it collides with the ragdoll, it will automatically work.