Simple, Lightweight, and Performant IK Bundle
As the name implies, it’s an I nverse K inematics B undle, containing modules for common IK implementations, currently supporting R6 and R15 rigs, with more coming soon!
Makes IK simple and easy to implement for common use cases with little to no knowledge about the math and logic behind the library itself, as well as keeping itself lightweight, and causing little to no impact on the CPU.
local R15ALIK = require(script.IKB.R15.AL) -- "AL" stands for "Arm & Leg". local LeftArmIK = R15ALIK.new(Character, "Left", "Arm") LeftArmIK.ExtendWhenUnreachable = true -- Move body part when it normally cannot reach (do not include this line if you don't want this behavior). LeftArmIK:Solve(Target.Position)
local R6ArmIK = require(script.IKB.R6.Arm) local LeftArmIK = R6ArmIK.new(Character, "Left") -- Note: R6 does not support "ExtendWhenUnreachable" behavior yet. LeftArmIK:Solve(Target.Position)
Example.rbxl (42.8 KB)