Recently active
Let's say I have an async interval call like so:this.async.setInterval(()=>{ console.log(player.name.get()) },1000)This code works as intended within the TypeScript environment.However, the moment I add a variable to capture the timeout ID as mentioned in the documentation: /** * Sets a timer which executes a function or specified piece of code once the timer expires. * @param callback - A function to be compiled and executed after the timer expires. * @param timeout - The time, in milliseconds that the timer should wait before the specified function or code is executed. * If this parameter is omitted, a value of 0 is used, meaning execute "immediately", or more accurately, the next event cycle. * @param args - Additional arguments which are passed through to the function specified by callback. * @returns The timer created by the call to `setTimeout()`. * This value can be passed to `clearTimeout()` to
Is it possible to change from perspective to orthographic camera - going thru the camera API and i notice there is a pan example, but that is perspective camera
I wanted to flag two issues that are currently blocking development for many of us:Editor stability – The desktop editor often crashes, freezes, or kicks users out of a world without warning. This makes it difficult to iterate or debug.Avatar animation call – Calling playAvatarGripPoseAnimationByName consistently triggers a crash. Repro steps are straightforward: add the call in a script, press Play, and the editor shuts down.Both problems have persisted for about a week and effectively halt progress on projects. Any update or workaround you can share would be hugely appreciated—this functionality is critical for creators.
Hi All, sorry if this is a silly question. Why is it important to bake your mesh? I use Adobe substance painter and stager.
I'm going through the tutorials and in the web mobile one I see this Death script that triggers when you hit a target. It makes me wonder what other animations I can call for my avatar. I know I've seen others implement this in various ways, I'm wondering where the documentation is. I'd love to control the avatar to sit down and go for a ride. I'm seeing this line in the code of the tutorialplayer.playAvatarGripPoseAnimationByName('Die');but then going through the various documentation and tutorials, I can't find details about it. I noticed a 'Respawn' call works too.
So I have this issue now where the public version of my world is broken--the certain triggers don't work and objects don't show up. But if I click on the options for the world on mobile, I see a "Preview Version" that when I click that it works. What is this "preview version" and how can I make it the public version? No matter how many times I click publish, the public version is still broken in ways the "Preview Version" isn't.
Hi everyone! In-app purchases can enhance the user experience and drive engagement. We want to discuss strategies that make them worthwhile. What strategies have you found effective for in-app purchases? Share your experiences and insights. How do you balance monetization with user experience? We want to know how you ensure that in-app purchases add value. What features or tools would help you implement in-app purchases more effectively? Let us know what you need. Have you used the Meta Horizon Worlds In-World Purchase Guide? If so, how has it helped you, and what improvements would you suggest? Please share your thoughts in the thread.
Another basic question - I have a locked door, After I use a Custom UI to unlock it, I want to remove it. Changing the visibility works, but I cannot set the collidability or even move it.I get "Unable to manipulate static entity". So how can I implement this?
Would anyone know why the Public Visibility and Members only are grayed out?
How do I get an NPC to sit? I've seen scripts for animation or walking but I just want to have a few NPCs sitting on chairs and benches for a demo video.
Simple self-contained script - enter a trigger to activate fixed camera, at the position defined by cameraTarget. Why doesn't this work? import { Entity } from 'horizon/core';import * as hz from 'horizon/core';class ChangeCameraOnTrigger extends hz.Component<typeof ChangeCameraOnTrigger> { static propsDefinition = { cameraTarget: { type: hz.PropTypes.Entity }, duration: { type: hz.PropTypes.Number, default: 1 }, }; start() { this.connectCodeBlockEvent(this.entity, hz.CodeBlockEvents.OnPlayerEnterTrigger, (player: hz.Player) => { this.ChangeCamera(player); }); } ChangeCamera(player: hz.Player) { console.log('Changing camera for player:', player); const targetPosition = this.props.cameraTarget!.position.get(); const targetRotation = hz.Quaternion.lookRotation(targetPosition.sub(player.head.position.get())); // Use Player.
Does anyone have a good pipeline for converting glb to horizon-ready fbx + png it's my understanding that horizon custom mesh upload requires the texture as a single png file to be separate from the fbx?
Is it possible to modify material properties after generating a texture? i.e., make it shiny etc, or make the texture look less bright/saturated
I have a RTX4090 Windows 11 PC with plenty of RAM and a high frame rate monitor. Horizon Desktop Editor's UI is extremely laggy to the point where I am literally getting migraines. Is this possible to simply use Unity instead?
is it possible to share the world link from the editor, or do we have to log into the web browser and go into the meta website etc to find the link?
Is it possible to export NPC avatar appearances edited in one world to another?
Has anyone brand new to coding been able to successfully follow the tutorial world with online steps (collecting gems with timer)? Even with the complete scripts and attaching everything, nothing happens.
Is it possible (via some sort of API perhaps) to upload mesh with the textures in-tact instead of separate?
Hi,Wondering, is there a way to send a network event from player to server without using broadcast?I tried sendNetworkEvent(this.world.getServerPlayer()...) but it doesn't accept the server player. Thanks,John
Hello meta creators, I need some help because I truly want to cry. Since I deleted the leaderboard in ONE world, it's now impossible for me to get the leaderboard working in any world. Can someone test this script to update a leaderboard? Create a leaderboard in /Systems/leadersboard with the name "test". Create the leaderboard at /Entity Build/Gizmo/WorldLeaderboard, and set its Leaderboard to "test". Create a script object: Scripts/[+]/ and paste the code. Create a Trigger and set its script to execute this code. import * as hz from 'horizon/core'; export class TriggerScoreUpdater extends hz.Component<typeof TriggerScoreUpdater> { start() { this.connectCodeBlockEvent(this.entity, hz.CodeBlockEvents.OnPlayerEnterTrigger, (enteredBy: hz.Player) => { console.log(`Player ${enteredBy.name.get()} set leaderboard to 42`); this.world.leaderboards.setScoreForPlayer("test", enteredBy, 42, false); } ); }
is it possible to allow any player/user to automatically be invited to be a collaborator?
Is there a way to debug using VSCode only without Desktop Editor? (This relates to my previous question on intellisense or autocomplete)
Is there any way to get NPCs to cast a shadow? I don't see any settings on the asset to turn on cast shadows.
It was fairly easy to see my world capacity in Horizon Worlds Headset but I can't seem to find the option to view it on desktop.
Ive been trying to change my payout stuff to a different account but every time I try to change it it wont let me go into that part saying "Something went wrong when securely transmitting your data. Please try again Later. Where can I put a ticket for this at?
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.