sdraw_mods_cvr/ml_prm
2023-04-09 01:57:09 +03:00
..
Properties New mod - PlayerRagdollMod 2023-04-08 02:51:46 +03:00
resources Added a unity editor script to toggle ragdoll via animation on your avatar 2023-04-08 19:31:57 +01:00
vendor/RootMotion New mod - PlayerRagdollMod 2023-04-08 02:51:46 +03:00
Main.cs Not harsh world restrictions 2023-04-08 23:19:57 +03:00
ml_prm.csproj Not harsh world restrictions 2023-04-08 23:19:57 +03:00
ml_prm.csproj.user New mod - PlayerRagdollMod 2023-04-08 02:51:46 +03:00
ml_prm_editor_script.unitypackage Added a unity editor script to toggle ragdoll via animation on your avatar 2023-04-08 19:31:57 +01:00
RagdollController.cs FBT flop fix, alignment fix 2023-04-09 01:57:09 +03:00
RagdollToggle.cs Added a unity editor script to toggle ragdoll via animation on your avatar 2023-04-08 19:31:57 +01:00
README.md Update README.md 2023-04-08 20:23:31 +00:00
Settings.cs Minor fix 2023-04-08 17:19:14 +03:00
Utils.cs FBT flop fix, alignment fix 2023-04-09 01:57:09 +03:00

Player Ragdoll Mod

This mod turns player's avatar into ragdoll puppet.

Installation

Usage

  • Press R to turn into ragdoll and back.

Optional mod's settings with BTKUILib:

  • Switch ragdoll: turns into ragdoll state and back, made for VR usage primarily.
  • Use hotkey: enables/disables ragdoll state switch with R key; true by default.
  • Restore position: returns to position of ragdoll state activation upon ragdoll state exit; false by default.
  • Use gravity: enables/disables gravity for ragdoll; true by default.
  • Velocity multiplier: velocity force multiplier based on player's movement direction; 2.0 by default.
  • Movement drag: movement resistance; 1.0 by default.
  • Angular movement drag: angular movement resistance; 0.5 by default.
  • Reset settings: resets mod settings to default.

Notes

  • Incompatible with Follow hips on IK override option in AvatarMotionTweaker.
  • Not suggested to activate fly mode with enabled ragdoll state.
  • In worlds that don't allow flying velocity multiplier is forced to 1 and gravity is forced on.
  • If ragdoll state is enabled in during emote, remote players see whole emote playing while local player sees ragdolling. It's tied to how game handles remote players, currently can be prevented with renaming avatar emote animations to not have default name or containing Emote substring.

Unity Editor Script

You can also trigger the ragdoll via animations on your avatar. To do this you need to download and import the ml_prm_editor_script.unitypackage into your unity project. Then add the component Ragdoll Toggle anywhere inside of your avatar's hierarchy. Now you can animate both parameters available:

  • Should Override: Whether the animation should override the toggled state of the ragdoll.
  • Is On: Whether the ragdoll state is On or Off (only works if Should Override is also On).

Note: In order to work the game object needs to be active and the component enabled.