Closed AlejandroAlvarezMelucciDCL closed 4 months ago
Adds more avatar attach points How it looks like in a test scene:
How it looks like in unity-renderer (we don't interact with this directly):
private static readonly Dictionary<AvatarAnchorPointIds, string> boneMapping = new () { { AvatarAnchorPointIds.LeftHand, "Avatar_LeftHand" }, { AvatarAnchorPointIds.RightHand, "Avatar_RightHand" }, { AvatarAnchorPointIds.Head, "Avatar_Head" }, { AvatarAnchorPointIds.Neck, "Avatar_Neck" }, { AvatarAnchorPointIds.Spine, "Avatar_Spine" }, { AvatarAnchorPointIds.Spine1, "Avatar_Spine1" }, { AvatarAnchorPointIds.Spine2, "Avatar_Spine2" }, { AvatarAnchorPointIds.Hip, "Avatar_Hip" }, { AvatarAnchorPointIds.LeftShoulder, "Avatar_LeftShoulder" }, { AvatarAnchorPointIds.LeftArm, "Avatar_LeftArm" }, { AvatarAnchorPointIds.LeftForearm, "Avatar_LeftForearm" }, { AvatarAnchorPointIds.LeftHandIndex, "Avatar_LeftHandIndex" }, { AvatarAnchorPointIds.RightShoulder, "Avatar_RightShoulder" }, { AvatarAnchorPointIds.RightArm, "Avatar_RightArm" }, { AvatarAnchorPointIds.RightForearm, "Avatar_RightForearm" }, { AvatarAnchorPointIds.RightHandIndex, "Avatar_RightHandIndex" }, { AvatarAnchorPointIds.LeftUpLeg, "Avatar_LeftUpLeg" }, { AvatarAnchorPointIds.LeftLeg, "Avatar_LeftLeg" }, { AvatarAnchorPointIds.LeftFoot, "Avatar_LeftFoot" }, { AvatarAnchorPointIds.LeftToeBase, "Avatar_LeftToeBase" }, { AvatarAnchorPointIds.RightUpLeg, "Avatar_RightUpLeg" }, { AvatarAnchorPointIds.RightLeg, "Avatar_RightLeg" }, { AvatarAnchorPointIds.RightFoot, "Avatar_RightFoot" }, { AvatarAnchorPointIds.RightToeBase, "Avatar_RightToeBase" }, };
How it looks like in the SDK, for content creators: (addBox is a custom method for testing this, it just creates an entity, adds a transform and mesh renderer with the specified color and attach it to the specified point)
//
https://github.com/decentraland/unity-renderer/blob/master/docs/code-review-standards.md
copilot:summary
After the CI passes:
This branch can be previewed at:
If you have the launcher installed (download launcher) you can press open on the following link:
What does this PR change?
Adds more avatar attach points How it looks like in a test scene:
How it looks like in unity-renderer (we don't interact with this directly):
How it looks like in the SDK, for content creators: (addBox is a custom method for testing this, it just creates an entity, adds a transform and mesh renderer with the specified color and attach it to the specified point)
How to test the changes?
//
to show/hide bars for each attach pointOur Code Review Standards
https://github.com/decentraland/unity-renderer/blob/master/docs/code-review-standards.md
Copilot summary
copilot:summary