Skip to content

Commit c9d5117

Browse files
committed
fixed jittering bones in unreal and rigify locked IK poles.
1 parent ce7a756 commit c9d5117

File tree

4 files changed

+3
-7
lines changed

4 files changed

+3
-7
lines changed

send2ue/addon/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
bl_info = {
1616
"name": "Send to Unreal",
1717
"author": "Epic Games Inc.",
18-
"version": (1, 4, 8), # addon plugin version
18+
"version": (1, 4, 9), # addon plugin version
1919
"blender": (2, 83, 0), # minimum blender version
2020
"location": "Header > Pipeline > Export > Send to Unreal",
2121
"description": "Sends an asset to the first open Unreal Editor instance on your machine.",

send2ue/addon/functions/unreal.py

+1
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ def import_asset(asset_data, properties):
9292
f'\t\toptions.set_editor_property("skeleton", skeleton_asset)',
9393
f'\t\toptions.set_editor_property("original_import_type", unreal.FBXImportType.FBXIT_ANIMATION)',
9494
f'\t\toptions.set_editor_property("mesh_type_to_import", unreal.FBXImportType.FBXIT_ANIMATION)',
95+
f'\t\toptions.anim_sequence_import_data.set_editor_property("preserve_local_transform", True)',
9596
f'\telse:',
9697
f'\t\traise RuntimeError("Unreal could not find a skeleton here: {asset_data.get("skeleton_game_path")}")',
9798

ue2rigify/addon/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"author": "Epic Games Inc.",
1515
"description": "Allows you to convert a given rig and its animations to a Rigify rig.",
1616
"blender": (2, 83, 0),
17-
"version": (1, 3, 9),
17+
"version": (1, 3, 10),
1818
"location": "3D View > Tools > UE to Rigify",
1919
"wiki_url": "https://github.com/EpicGames/BlenderTools/wiki/UE-to-Rigify-Home",
2020
"warning": "",

ue2rigify/addon/functions/scene.py

-5
Original file line numberDiff line numberDiff line change
@@ -264,11 +264,6 @@ def set_fk_ik_switch_values(rig_object, value):
264264
:param object rig_object: A blender object that contains armature data.
265265
:param float value: The floating point value of the FK to IK slider.
266266
"""
267-
# change the ik solver type and mode to reduce bone jitter in unreal
268-
rig_object.pose.ik_solver = 'ITASC'
269-
rig_object.pose.ik_param.mode = 'SIMULATION'
270-
rig_object.pose.ik_param.reiteration_method = 'ALWAYS'
271-
272267
for bone in rig_object.pose.bones:
273268
if isinstance(bone.get("IK_FK"), float):
274269
bone['IK_FK'] = value

0 commit comments

Comments
 (0)