-
Notifications
You must be signed in to change notification settings - Fork 13
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
m-character sockets #105
m-character sockets #105
Conversation
ba9f3a2
to
748e665
Compare
|
||
private async setAttachments(parts: MMLCharacterDescriptionPart[]): Promise<void> { | ||
parts.forEach(async (part) => { | ||
if (part.socket?.socket && this.availableBones.has(part.socket.socket)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this should handle the case where there isn't a valid bone by adding it to the root (which is effectively between the feet)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@MarcusLongmuir Nice catch! Fixed (I'm console.warning
it though).
3da6a43
to
073bd42
Compare
0c6679f
to
d89224a
Compare
d89224a
to
5a7b737
Compare
This PR aims to offer further character customization to the
3d-web-experience
through the usage of them-character
MML Character Descriptions tag with nestedm-model
tags including thesocket
attribute.What kind of change does your PR introduce? (check at least one)
Does your PR fulfill the following requirements?