mirror of
https://github.com/hanetzer/sdraw_mods_cvr.git
synced 2025-09-04 10:59:22 +00:00
Added a unity editor script to toggle ragdoll via animation on your avatar
This commit is contained in:
parent
76f9244d9c
commit
e426418806
6 changed files with 39 additions and 0 deletions
|
@ -23,3 +23,15 @@ Optional mod's settings with [BTKUILib](https://github.com/BTK-Development/BTKUI
|
|||
* Incompatible with `Follow hips on IK override` option in AvatarMotionTweaker.
|
||||
* Not suggested to activate fly mode with enabled ragdoll state.
|
||||
* Can't be activated in worlds that don't allow flying and spawnables.
|
||||
|
||||
# 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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue