feat: spring bones metadata [WIP] - #1919
Closed
RocioCM wants to merge 1 commit into
Closed
Conversation
Contributor
|
Already done this changes. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Bumps
@dcl/schemasand@dcl/content-validatorto the versions that introduce the newspringBonesmetadata field on wearables.springBonesis a new optional field onWearable.datathat lets a wearable carry per-bone physics parameters (stiffness, gravity, drag) for spring-driven hair, accessories, and similar dynamics. The keys ofspringBones.modelsare GLB content hashes — this means a single GLB shared across multiple body-shape representations resolves to one entry, and entries stay stable across path renames.Catalyst itself does not need any code changes for this feature. This PR only updates the dependency versions so that:
springBonesfield (via the bumped@dcl/schemas).springBonesMetadataValidateFn(via the bumped@dcl/content-validator), which:SpringBonesData.validatefrom@dcl/schemas,pins
version === 1,springBones.modelsis the content hash of a current representation'smainFile,springbonenaming convention (case-insensitive).Related upstream PRs:
Changes
@dcl/schemasfrom ^26.1.0 to TEMP VERSION in content/package.json and lambdas/package.json.@dcl/content-validatorfrom ^7.1.5 to TEMP VERSION in content/package.json.Pending tasks
@dcl/schemasto production version when PR merged: feat: add springBones metadata to Wearable data schema schemas#421@dcl/content-validatorto production version when PR merged: feat: add spring bones metadata validation content-validator#354Types of changes