Skip to content

[SpringBoneLimit] 動くようにした#2698

Merged
ousttrue merged 5 commits into
vrm-c:masterfrom
ousttrue:fix/activate_springbone_limit
Aug 12, 2025
Merged

[SpringBoneLimit] 動くようにした#2698
ousttrue merged 5 commits into
vrm-c:masterfrom
ousttrue:fix/activate_springbone_limit

Conversation

@ousttrue

@ousttrue ousttrue commented Jul 18, 2025

Copy link
Copy Markdown
Contributor

#2696 の続き

@ousttrue ousttrue changed the title [WIP][SpringBoneLimit] 動くようにした [SpringBoneLimit] 動くようにした Jul 21, 2025
@s-iwaki-d s-iwaki-d requested review from Copilot and notargs July 31, 2025 07:16

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR implements angle limit functionality for spring bone joints in VRM10, building on previous work from issue #2696. It adds angle limit types (Cone, Hinge, Spherical) with configurable parameters and integrates them into the spring bone system.

  • Added angle limit fields and properties to VRM10SpringBoneJoint
  • Updated FastSpringBoneBufferFactory to use the new Blittable property
  • Enhanced the editor UI to configure angle limit settings
  • Fixed angle limit calculations to properly handle direction and length

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
FastSpringBoneBufferFactory.cs Simplified joint creation to use the new Blittable property
VRM10SpringBoneJoint.cs Added angle limit configuration fields and Blittable property
VRM10SpringBoneJointEditor.cs Added UI controls for angle limit configuration
BlittableJointMutable.cs Updated parameter names for angle limit properties
Anglelimit.cs Fixed angle limit calculations to normalize direction and apply length

Comment thread Assets/VRM10/Runtime/Components/SpringBone/VRM10SpringBoneJoint.cs Outdated
Comment thread Assets/VRM10/Editor/Components/SpringBone/VRM10SpringBoneJointEditor.cs Outdated

@notargs notargs left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

大まかには問題なさそうです。Copilotくんが指摘しているところだけ修正お願いします 🙏

ousttrue and others added 2 commits August 7, 2025 17:01
…t.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…Editor.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@ousttrue ousttrue requested a review from notargs August 7, 2025 08:02
@ousttrue

ousttrue commented Aug 7, 2025

Copy link
Copy Markdown
Contributor Author

typo 🙏

@notargs notargs left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ousttrue ousttrue merged commit 39a5dfc into vrm-c:master Aug 12, 2025
1 check passed
@ousttrue ousttrue deleted the fix/activate_springbone_limit branch August 12, 2025 03:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants