Attachable Interactive Assets
Any hints on how to attach an interactive asset to the Player OnEnterWorld? My problem is that I know how to attach objects with Code Blocks, but interactive objects already have script connected to them. Is there a trick to do it? Thank you for your help!443Views1like5CommentsMeta community beta program
Dear meta community I not long got accepted into meta horizon community beta program i have decided to deactivate my account and reactive my meta account i still have everything else but noticed some changes after i was getting something as soon after I had it reactivate can anyone tell me does it kick you off their beta program if so how do I get opted-in if someone from their meta horizon community could give me some sort of guidance that would help as I learning everyday on what you can or can't do thanks meta community team You sincerely pinkicelolly metasupportcaseSolved792Views0likes11CommentsCongrats to the prize winners!
Congratulations to all the mobile game prize winners. Although I was not one of the winners (😔), as an experienced TypeScript developer, I really liked learning the Horizon Worlds API and development tools. If you need help with future projects, please keep me in mind. And visit my contest entry, Galactic Treasure Hunt, to add to my milestones! https://horizon.meta.com/world/652276037540703/?locale=en_US140Views0likes0CommentsMobile Competition Submission Deadline: Q&A Support
Hey Creators! With the Mobile Competition submission deadline just around the corner, we want to make sure you have all the support you need to get your worlds submitted on time. Important Reminders: Submission Deadline: May 8, 2025 @ 11:45pm (PT) / 1:45am (CT) / 2:45am (ET) Make sure to review the official competition rules and guidelines before submitting your world If you encounter any technical issues during submission, please let us know ASAP so we can assist you To help with any last-minute questions or concerns, we're creating this thread as a dedicated space for you to ask anything related to submitting your worlds for the competition. 💭 Whether you're wondering about: Technical questions and troubleshooting Submission guidelines and requirements Or anything else that's on your mind Critical Warning: Publishing a World as Non Discoverable and then switching to Discoverable Automatically Enables Members Only Option in the Desktop Editor Please be aware that there is currently a bug in the Desktop Editor which can have implications when publishing your world. If you have published your world, with Discoverable set to off, setting Discoverable to on in the Publishing modal in the Desktop Editor will automatically switch Members-Only to on. Please make sure that you switch Members-Only to off before you publish your update, as judges will not be able to judge your world if it is set to Members-Only, and it must be available to play on mobile. If you are impacted by this issue please alert us as soon as possible in the submission thread. Good luck with your submissions, and we look forward to seeing your amazing creations! Post Your Questions Below!4.8KViews12likes48CommentsPersistent Spawned Objects?
Hello! So I'd like to build a creator game, but... So I asked Horizon Gen AI llama whether it is possible to do persistent placement and it said I needed clarification on whether allowing users to spawn persistent objects would be against policies? Here's the generated: No, it is not possible for a user to throw an entity on the ground and have it be added permanently in a world. In Horizon Worlds, entities spawned or manipulated by users are not persisted across sessions by default. When a user throws an entity, it will be simulated by the physics engine and may come to rest on the ground, but it will not be permanently added to the world. To achieve persistent entity placement, you would need to implement a custom solution using Horizon Worlds' scripting capabilities, such as using the `World.persistentStorage` API to store the entity's state and re-spawning it when the world is reloaded. However, this would require significant development effort and may not be feasible or allowed by the platform's policies. Here's an example of how you might implement a basic persistent entity system: ```typescript import { PropTypes, CodeBlockEvents, Player, Vec3, Quaternion } from 'horizon/core'; import { Component, Entity, World } from 'horizon/core'; class PersistentEntity extends Component<typeof PersistentEntity> { static propsDefinition = { entityToPersist: { type: PropTypes.Entity }, }; start() { this.connectCodeBlockEvent(this.entity, CodeBlockEvents.OnPlayerEnterWorld, this.onPlayerEnterWorld.bind(this)); this.connectCodeBlockEvent(this.entity, CodeBlockEvents.OnGrabEnd, this.onEntityReleased.bind(this)); } onPlayerEnterWorld(player: Player) { const storedState = this.world.persistentStorage.getPlayerVariable(player, 'persistentEntity'); if (storedState) { const entity = this.props.entityToPersist!; entity.position.set(new Vec3(storedState.position.x, storedState.position.y, storedState.position.z)); entity.rotation.set(new Quaternion(storedState.rotation.x, storedState.rotation.y, storedState.rotation.z, storedState.rotation.w)); } } onEntityReleased(player: Player) { const entity = this.props.entityToPersist!; const position = entity.position.get(); const rotation = entity.rotation.get(); // Store the entity's state in persistent storage this.world.persistentStorage.setPlayerVariable(player, 'persistentEntity', { position: { x: position.x, y: position.y, z: position.z }, rotation: { x: rotation.x, y: rotation.y, z: rotation.z, w: rotation.w }, }); } } Component.register(PersistentEntity); ``` Please note that this is a simplified example and may not cover all edge cases. You should consult the Horizon Worlds documentation and consider factors like entity ownership, security, and performance when implementing a persistent entity system.266Views0likes3CommentsIt's Not Too Late to Join the Competition! Find Teammates and Use Gen AI Today! 🏆
Hey Creators! 👋 Need a Helping Hand? Have you started a competition entry but need some solutions to get to the finish line? Use this thread to find collaborators for your project, and read on to learn about how you can leverage Gen AI tools to get your submission ready by May 8. Leverage the Power of AI in Collaboration! 🤖 With tools like Mesh Gen, Sound Gen, and Scripting, you can accelerate your development process and bring your ideas to life faster than ever before. Check out our upcoming events and tutorials on how to use Gen AI to take your creations to the next level! How to Build a World in 5.5 Hours using Gen AI with Habitor Build Along Challenge: Quick World Creation using Mesh Gen Prompt Engineering 101: Optimizing Mesh Gen Prompts Scripting with AI Support: Gen AI TypeScript By combining your collective creativity and expertise with the power of Gen AI, you can push the boundaries of what's possible and create something remarkable in a short time. Share your collaboration requests, seek feedback, and offer your insights to others. We can't wait to see your successes come to fruition and how you help each other grow! 🌟1.3KViews8likes9CommentsTips for your Devpost Competition Video
What are your suggestions for a great video? What software would you recommend? Last competition there were some hiccups with the requirement to upload a video about your submission. Here is a link to tips and tricks for a great hackathon video. https://info.devpost.com/blog/6-tips-for-making-a-hackathon-demo-video Here is the link to more info on how to upload the Devpost Video. https://help.devpost.com/article/85-uploading-a-demo-video?_gl=1*fl4whb*_gcl_au*OTk1OTI5NTIwLjE3NDE3MTQzMTg.*_ga*MTAyODIyNjgyOS4xNzQxNzE0MzE4*_ga_0YHJK3Y10M*MTc0MzcxMzIwNS4yNy4xLjE3NDM3MTM2NTYuMC4wLjA.Mentor Help Prior To Competition Announcement
If a mentor has been in your world in the past, before March 11, 2025, can you still use that world in the competition as long as they have not had anything to do with it from the announcement on and you do not use anything (such as scripting) that they helped with in the past prior to March 11, 2025?Solved530Views0likes5CommentsWant to participate in this week's challenge?
Whether you're new to horizon or an expert creator, check out this week's challenges New Creator: Weekly Creator Challenge #2 - Meta Community Forums - 1299605 Experienced Creator: Weekly Creator Challenge #2 - Meta Community Forums - 1299606 Win some badges!