Skip to content

Commit

Permalink
feat(ik): increase precision of ik solver
Browse files Browse the repository at this point in the history
  • Loading branch information
Silverlan committed Jan 24, 2023
1 parent 5ba11fc commit 90d4081
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/entities/components/ik_solver/client/cl_init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ function Component:OnTick(dt)
-- TODO: Reset pose?
self:UpdateControlPoses()
self:ResetIkBones()
for i=1,1 do self.m_solver:Solve() end
for i=1,5 do self.m_solver:Solve() end

dbgInfo:SetColor(Color.Lime)
--debug.draw_line(points[1],points[2],dbgInfo)
Expand Down

0 comments on commit 90d4081

Please sign in to comment.