Wow! This simplifies a lot for me! I’ve always struggled to implement IK in quite a few instances so thanks for this!
Also +1 for the MIT license!
Wow! This simplifies a lot for me! I’ve always struggled to implement IK in quite a few instances so thanks for this!
Also +1 for the MIT license!
Looks great, does it support animations?
Could you elaborate on this further? You could animate the rig and leave the parts that you want to use for IK.
I believe its called animation blending iirc, but yeah that works for my purpose too. Great module
Version: 1.0.0 → 1.1.0
Scale: Minor
R6 solver has some edges cases where it throws wonky output. If anyone knows how to fix let me know as I am not an expert when it comes to inverse kinematics.
Learn more by visiting the GitHub repository.
I had the same problem using R6 IKPF (Inverse Kinematics Procedural Footplanting)
Basically at certain angles, the legs were wonky or weird looking. This is because the IK method they were using was:
So my best guess why the legs doesn’t solve perfectly is because of your IK solver.
(Correct me if I’m wrong)
i hope this helps in any shape or form.
Where should you put the scripts?
In any place you want. I personally recommend to put them in PlayerScripts since you won’t be solving IK on the server.
Version: 1.1.0 → 1.1.1
Scale: Patch
:Destroy()
method.:Destroy()
method.Learn more by visiting the GitHub repository.
Very cool, This can be used for IKPF right? i mean it should be
It should, I don’t see why not.
What would be the best way to do so? I’m new to Inverse Kinematics and procedural footplanting.
That’s something you can ask in #help-and-feedback:scripting-support, this thread is only for IKB related problems and questions.
Is there any a way to make this work with lightsaber system while use ik feature that able to track the mouse cursor?
Can you elaborate more on what you want to achieve? Do you want the hand that is holding the lightsaber to follow mouse position?
Yeah but follow the mouse while the lightsaber is enabled but if it not enabled it will not follow the mouse
Here is a sample to get you started, it’s not completed but it should give you some idea on how to implement this module in your project. If you need help with the logic then you should go and ask in #help-and-feedback:scripting-support.
local RunService = game:GetService("RunService")
local R15ALIK = require(script.IKB.R15.AL)
local leftArmIK, rightArmIK, heartbeatIK
local function toolEquipped()
leftArmIK = R15ALIK.new(characterModel, "Left", "Arm")
rightArmIK = R15ALIK.new(characterModel, "Right", "Arm")
heartbeatIK = RunService.Heartbeat:Connect(function()
leftArmIK:Solve(targetPosition)
rightArmIK:Solve(targetPosition)
end)
end
local function toolUnequipped()
heartbeatIK:Disconnect()
leftArmIK:Destroy()
rightArmIK:Destroy()
end
For r6 - How do I make animations not play while it is active because the arm seems to move when I walk or stand still. I also want to offset the shoulder position but I’m not sure how to do that. I want it to offset because the hand currently doesnt reach the attachment position of the weapon handle.
That’s something you have to ask in #help-and-feedback:scripting-support
I am not sure, but I might look into it at some point.
Meant to ask, what method are you using for your IK solver? I can’t seem to recognize it judging by the source code.