Skip to content

ModelAnimator setup#8

Merged
henryouly merged 4 commits intomainfrom
henryouly-unitychan
Dec 29, 2021
Merged

ModelAnimator setup#8
henryouly merged 4 commits intomainfrom
henryouly-unitychan

Conversation

@henryouly
Copy link
Collaborator

@henryouly henryouly commented Dec 28, 2021

The first step to an animated UnityChan model.

ModelAnimator

This PR introduces ModelAnimator which will be ultimately used to compute all the bones to mimic the angles from the pose tracker. Currently, it doesn't do anything useful other than just turning Unity Chan to face her left (forward vector: (-1, 0, 0)).

Joint

This also adds a Joint class which will be used to keep track of each joint's rotation. Eventually, the ModelAnimator will need to update all these joints to the right angles.

For now, we just play with the hip, but eventually it would need to compute all bones in the model.

SampleScene

This PR adds a Unity-Chan model in the middle of the scene.

@henryouly henryouly requested a review from wixette December 28, 2021 21:59
@henryouly henryouly self-assigned this Dec 28, 2021
@henryouly henryouly merged commit a86a94e into main Dec 29, 2021
@henryouly henryouly deleted the henryouly-unitychan branch December 29, 2021 04:37
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.

2 participants