rigify limbs.paw ik stretch does not fully disable stretch #109488

Closed
opened 2023-06-29 09:54:35 +02:00 by Mark Edwards · 3 comments

System Information
Windows 11

Blender Version
3.6 LTS but affects previous versions as well

when using a limbs.paw rigify type (may affect other rig types as well) if you set IK not to stretch it still stretches a little, this is not obvious if all you are doing is using the rig in blender and has no impact but if you are baking the deform bones out for a game engine where stretching is not supported or you just don't want it (and even in blender when baked if you copy the deform bone transforms) you get jittering and movement in the toe and foot bones.

to reproduce.

enable rigify
create empty armature
samples add limbs.paw

generate rig

in pose mode click on foot_ik.L and in the item menu disable IK Stretch by setting to 0

create a simple animation that moves thigh_ik.L but leaves the foot in place

bake the animation using visual keying, Clear Constraints Pose and everything else unchecked

enable armature layer 29 so you can see the deform bones, play the animation you will see the toe and foot bones wiggle which is representative of what happens if you bake this out non destructively for game engine.

Workaround
repeat the above
set IK Stretch to 0 as before
open armature layer 30 to get to the MCH bones

select MCH-shin_ik.L and in bone constraints for both IK controllers uncheck Stretch

create simple animation as above and bake, note that toe and feet no longer move after baking.

Having a bit of a search around I think this is causing quite a few issues in various game engines, suspect this is root cause.

Obviously there are other causes like Unitys default animation optimisation that can also cause jitter if not set correctly but I think this is something causing some confusion around.

**System Information** Windows 11 **Blender Version** 3.6 LTS but affects previous versions as well when using a limbs.paw rigify type (may affect other rig types as well) if you set IK not to stretch it still stretches a little, this is not obvious if all you are doing is using the rig in blender and has no impact but if you are baking the deform bones out for a game engine where stretching is not supported or you just don't want it (and even in blender when baked if you copy the deform bone transforms) you get jittering and movement in the toe and foot bones. to reproduce. enable rigify create empty armature samples add limbs.paw generate rig in pose mode click on foot_ik.L and in the item menu disable IK Stretch by setting to 0 create a simple animation that moves thigh_ik.L but leaves the foot in place bake the animation using visual keying, Clear Constraints Pose and everything else unchecked enable armature layer 29 so you can see the deform bones, play the animation you will see the toe and foot bones wiggle which is representative of what happens if you bake this out non destructively for game engine. Workaround repeat the above set IK Stretch to 0 as before open armature layer 30 to get to the MCH bones select MCH-shin_ik.L and in bone constraints for both IK controllers uncheck Stretch create simple animation as above and bake, note that toe and feet no longer move after baking. Having a bit of a search around I think this is causing quite a few issues in various game engines, suspect this is root cause. Obviously there are other causes like Unitys default animation optimisation that can also cause jitter if not set correctly but I think this is something causing some confusion around.
Mark Edwards added the
Status
Needs Triage
Type
Report
Priority
Normal
labels 2023-06-29 09:54:36 +02:00

Hi, please, move add-on bug report to https://projects.blender.org/blender/blender-addons/issues.

Hi, please, move add-on bug report to https://projects.blender.org/blender/blender-addons/issues.
Author

Hi, please, move add-on bug report to https://projects.blender.org/blender/blender-addons/issues.

Sorry, I didn't notice that, i don't seem to have rights to move this or close it, not sure what to do for the best, do you want to close it here and I'll recreate in the add-on repository ?

thanks

Mark

> Hi, please, move add-on bug report to https://projects.blender.org/blender/blender-addons/issues. Sorry, I didn't notice that, i don't seem to have rights to move this or close it, not sure what to do for the best, do you want to close it here and I'll recreate in the add-on repository ? thanks Mark

I move it manually: blender/blender-addons#104724
To receive notifications, please subscribe to the new version of the report manually.

I move it manually: https://projects.blender.org/blender/blender-addons/issues/104724 To receive notifications, please subscribe to the new version of the report manually.
Blender Bot added
Status
Archived
and removed
Status
Needs Triage
labels 2023-06-29 17:58:11 +02:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#109488
No description provided.