Skip to content

Commit

Permalink
Cleanup gdlint issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
Malcolmnixon committed Apr 22, 2024
1 parent 0eb584f commit 7df5158
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
7 changes: 6 additions & 1 deletion addons/godot_vmc_tracker/vmc_source.gd
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,12 @@ func _process_joints() -> void:
var root := Transform3D(root_x, root_y, root_z, root_o).orthonormalized()
_body_tracker.set_joint_transform(XRBodyTracker.JOINT_ROOT, root)
_body_tracker.set_joint_flags(XRBodyTracker.JOINT_ROOT, JOINT_TRACKING)
_body_tracker.set_pose("default", root, Vector3.ZERO, Vector3.ZERO, XRPose.XR_TRACKING_CONFIDENCE_HIGH);
_body_tracker.set_pose(
"default",
root,
Vector3.ZERO,
Vector3.ZERO,
XRPose.XR_TRACKING_CONFIDENCE_HIGH);

# Indicate we are tracking the body
_body_tracker.body_flags = BODY_TRACKING
Expand Down
4 changes: 2 additions & 2 deletions demo.gd
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ func _input(event : InputEvent) -> void:


func _on_skeleton_spin_box_value_changed(value: float) -> void:
%"Test-Chan/Armature/Skeleton3D".motion_scale = value
%"Test-Kun/Armature/Skeleton3D".motion_scale = value
$"Chan/ChanAvatar/Test-Chan/Armature/Skeleton3D".motion_scale = value
$"Kun/KunAvatar/Test-Kun/Armature/Skeleton3D".motion_scale = value


func _on_world_spin_box_value_changed(value: float) -> void:
Expand Down
2 changes: 0 additions & 2 deletions demo.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, -0.6,
tracker = &"/vmc/body_tracker"

[node name="Test-Chan" parent="Chan/ChanAvatar" instance=ExtResource("1_lkeve")]
unique_name_in_owner = true

[node name="Body" parent="Chan/ChanAvatar/Test-Chan/Armature/Skeleton3D" index="0"]
blend_shapes/Cheek_Puff_Left = 1.28996e-05
Expand Down Expand Up @@ -137,7 +136,6 @@ transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 0.6, 0
tracker = &"/vmc/body_tracker"

[node name="Test-Kun" parent="Kun/KunAvatar" instance=ExtResource("2_67k0v")]
unique_name_in_owner = true

[node name="Body" parent="Kun/KunAvatar/Test-Kun/Armature/Skeleton3D" index="0"]
blend_shapes/Cheek_Puff_Left = 1.28996e-05
Expand Down

0 comments on commit 7df5158

Please sign in to comment.