feat: add lookAtEntity field to Billboard component#1376
Open
decentraland-bot wants to merge 1 commit into
Open
feat: add lookAtEntity field to Billboard component#1376decentraland-bot wants to merge 1 commit into
decentraland-bot wants to merge 1 commit into
Conversation
The new optional field allows a Billboard to face a specific entity's Transform position instead of the camera. Defaults to camera behavior when not set, matching the existing default. Depends on decentraland/protocol update adding look_at_entity to PBBillboard.
Deploying js-sdk-toolchain with
|
| Latest commit: |
5c5e7e8
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://f0f57d97.js-sdk-toolchain.pages.dev |
| Branch Preview URL: | https://feat-billboard-look-at-entit.js-sdk-toolchain.pages.dev |
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.
Summary
lookAtEntityfield to thePBBillboardTypeScript interfaceBillboard.spec.tswith serialization tests for the new fieldplayground-assetsAPI surface to expose the new fieldlookAtEntityusageBackground
The Billboard component is getting a new optional
look_at_entityfield (added in the protocol repo). When set, the Billboard rotates to always face the world-space position of the specified entity's Transform instead of the camera. When not set, existing camera-facing behavior is preserved.Changes
Related PRs
🤖 Created via Slack with Claude
Requested by Nico Earnshaw via Slack