I have a heavy nostalgia for 16-bit arcade game bosses with articulated necks and joints, and wanted to include a monster in my project that has a similar type of articulation. In case anyone else finds it useful, here are some FABRIK and forward kinematics solvers written in ZScript!
These allow you to have multiple actors follow a "lead" actor like they're all on a string, ideal for things like tails or dragging chains, or have two points pinned in space with realistic articulation of points between them as they move around, ideal for describing the joints of an arm, neck, or any connection between two points
The package should be loadable as a mod if you want to test it out; just uncomment the commented-out lines in 'Include.zs', load it up in GZDoom, and summon a Zombieman (for the FABRIK demo) or a Cacodemon (for the forward kinematics demo)
Have fun! https://github.com/DollgirlMonster/GZKinematics
Video demonstration: https://youtu.be/jWsNmZCUgPQ
These allow you to have multiple actors follow a "lead" actor like they're all on a string, ideal for things like tails or dragging chains, or have two points pinned in space with realistic articulation of points between them as they move around, ideal for describing the joints of an arm, neck, or any connection between two points
The package should be loadable as a mod if you want to test it out; just uncomment the commented-out lines in 'Include.zs', load it up in GZDoom, and summon a Zombieman (for the FABRIK demo) or a Cacodemon (for the forward kinematics demo)
Have fun! https://github.com/DollgirlMonster/GZKinematics
Video demonstration: https://youtu.be/jWsNmZCUgPQ
Statistics: Posted by ellie — Mon Jan 27, 2025 8:47 pm