Testing Ragdoll Physics In‐Editor - RuneFox237/VRChat-PunchingSystem GitHub Wiki
I'll write up a quick guide on how I test the physics in the system in-editor. It's very manual as I don't use anything like Av3Emulator or any of the other avatar emulators. If you know how to use those systems, go ahead and use those as they'll probably work better than how I do it.
- Add the FX layer to your Animator (Save)
- Hit the play button at the top of the unity window to enter play mode
- Open up the Animator Window, I usually move it off to the side so I can see the scene view at the same time
- Select your Avatar, this should change the Animator window to show the FX animator
- Switch to the Parameters tab
- Set your desired direction via the Punch/Vel parameters. X is left/right, y is up/down, z is forward/back
- Set whether the hit was a headshot or not with Punch/Head, 0 or 1
- Trigger the animation by toggling the Ragdoll1 boolean on Ragdoll System 1.15.0 or by changing the Ragdoll Int from 0 to 4 on Ragdoll System 1.14.X