Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rotation node overhaul, editor quality of life #34

Merged
merged 6 commits into from
Feb 15, 2024
Merged

Conversation

mbrea-c
Copy link
Owner

@mbrea-c mbrea-c commented Feb 7, 2024

Rotation node overhaul

Improved configurability of rotation node:

  • Input rotation can either replace or compose with existing bone rotation.
  • Input rotation can be provided in either parent bone, character or global space.
  • Input rotation can propagate to parent bones with decaying weight (see chain lenght and chain decay). This avoids artifacts when setting the rotation of a character's head to make it look at something, for example.
  • Starting weight of rotation propagation chain can be specified.

Editor quality of life

Various changes which improve the user experience of the editor:

  • Scene hierarchy preview shows all of the bones being animated by the animation graph player selected in the preview.
    • Selecting a bone in the scene hierarchy preview will highlight it in the preview window using gizmos.
    • Selecting a bone in the scene hierarchy preview will copy its EntityPath to the clipboard.
  • Some nodes can debug draw their effects while selected. For example, the two-bone IK node will draw the old position of affected bones in red, and the new position in blue.
  • Graph and scene selectors now take the form of a collapsible tree rather than a flat list.

@mbrea-c mbrea-c marked this pull request as ready for review February 15, 2024 18:36
@mbrea-c mbrea-c merged commit 4c8d373 into master Feb 15, 2024
3 checks passed
@mbrea-c mbrea-c deleted the rotation_overhaul branch June 10, 2024 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant