Player may toggle ragdoll state with F or Right bumper.
player body switches to capsule and simulates physics in ragdoll state.
movement during ragdoll twitches the body slightly, small velocity + animation change.
Minor Related Fixes
set position with respect to parent no longer forced to 0 for all objects. Used this to tweak capsule position.
Attached entities now rotate with parent.
Animation
This will need another pass, for now I re-used some stuff we have. Making the corpse more obviously dead would be good (though I guess being able to reasonably play dead may also be amusing).
Ragdoll State
Player may toggle ragdoll state with
F
orRight bumper
.Minor Related Fixes
Animation
This will need another pass, for now I re-used some stuff we have. Making the corpse more obviously dead would be good (though I guess being able to reasonably play dead may also be amusing).
https://github.com/fishfolk/jumpy/assets/35712032/9bdcbc0c-146b-4339-a7bd-4ed1ca1bb44d
https://github.com/fishfolk/jumpy/assets/35712032/f9004638-fc03-4ee6-8e6f-0f7f0ab1f3a3
https://github.com/fishfolk/jumpy/assets/35712032/5407bcf3-e9c9-4aa3-83e1-ba95adc3fcac