Facepunch / sbox-issues

175 stars 12 forks source link

IK appears jittery as I move the skinned model renderer or move the target point #6018

Open SwagAccount opened 3 months ago

SwagAccount commented 3 months ago

Describe the bug

As I move my head around the arm IK appears jittery as I move my head around. The arms skinned model renderer is attached to the head.

To Reproduce

  1. IK something to a point
  2. Use TwoBone IK in animgraph
  3. Set the point using SetIK
  4. observe

Expected behavior

not jittery

Media/Files

https://github.com/user-attachments/assets/a603c8f6-ab51-4982-ab8e-455cc61143ef

It is hard to see outside of vr, but inside vr it is really noticable.

Also you can kind of see it when a small white box clips through the hand which should happen as its connected to the target point

https://github.com/SwagAccount/Sewer_Hell/blob/main/code/Player/HandsDealer.cs https://github.com/SwagAccount/Sewer_Hell/tree/main/Assets/models/player

Additional context

Running in VR, calling SetIK in OnPreRender()

SwagAccount commented 3 months ago

Pretty please?

SwagAccount commented 3 months ago

bump

DrakeFruit commented 1 week ago

might just be frame pacing issues, I see this weird jitter on everything