Simple ragdoll example with FTEQW game engine. This simple project provides an intuitive way to test ragdolls in FTEQW.
Controls:
- Right mouse to toggle cursor placement on/off
- Left click to spawn ragdoll at gizmo location
- Space key to swap between scenes and OK to launch chosen scene
- Tab to display bone names
- A key to toggle animation-driven ragdolls (ragdoll animation will start at the end of animation)
- Q key to quit
Known bugs:
- Dismemberment seems not to work. It doesn't allow to choose a different bone in the hierarchy
- Scene collider MUST be set to SOLID_BSP which doesn't work well with traceline MOVE_HITMODEL so scene has been split in planes and colliders.
- After 10 ragdolls spawned, system performance are too low
- Animation driven ragdolls doesn't copy last frame position/rotation, giving unrealistic animations
- ODE seems to work only on Windows
Important files:
- src folder - where all the ragdolls logic takes places, especially ragdoll.c
- models/ragtest2.blend 3d model with animations (Blender file)
- models/ragtest2.iqm.doll doll file used by engine to read 3d model bones. Hopefully my comments will help you
