Desktop Editor raycast issues?
Hi everyone, I’m running into an issue that I thought would be fairly straightforward. I’m trying to use a laser-pointer–style object to grab and interact with objects for a simple puzzle game. The problem is that my raycast isn’t logging any hits on the tagged objects. To troubleshoot, I set up a minimal test: Created a cube as my grabble object Attached a raycast to it When grabbed, the raycast should change the color of a simple sphere But I’m still not seeing any hits registered. Here’s the simplified script I’m testing with: import { Raycast, Entity, Color, Component } from 'horizon'; export class LaserColorChanger extends Component<typeof LaserColorChanger> { static override typeName = "LaserColorChanger"; private raycast: Raycast | null = null; start() { this.raycast = this.entity.getComponent(Raycast); } update() { if (!this.raycast) return; const hit = this.raycast.getHit(); if (hit && hit.entity && hit.entity.name === "TargetSphere") { hit.entity.getComponent("MeshRenderer").setColor(Color.red()); console.log("Hit TargetSphere!"); } } } Has anyone else run into this or see what I might be missing? Thanks in advance!86Views0likes3CommentsHow to Start Developing on Meta Platforms (Horizon)?
Hi everyone, I’m new to development on Meta platforms and I’d like to know the best way to get started with Horizon world. What’s the right entry point for start development on Meta? Which docs or resources should I follow first? Are there any recommended learning paths or steps to avoid wasting time on unnecessary trial and error? I’d love to hear from experienced developers who have already gone through this stage, so I can start off on the right track and build a strong foundation from the beginning. Thanks in advance to anyone who shares their experience or points me in the right direction91Views1like2CommentsAre interactive, non-blocking overlays CUIs now appearing in VR?
Today, I saw a case where interactive non-blocking overlay CUI appeared in VR. Previously, I think that did not work in VR at all, correct? Only interactive blocking and non-interactive overlays worked. Now, it appears, but it is NOT interactive. So if you have a button on it to, say, dismiss the UI, VR users cannot click on it because it does not raycast? This was not my world, so it may have been something else, but they did say that they had not touched that world in quite a while and it just started happening. Anyway, some confirmation from others would be good. I have not had time to make a 'simple test case' but if anyone has one handy, can verify this is happening, and file a bug, that would be great. Not sure exactly where to file bugs now, tho. I think ABXY in headset or desktop editor? Unclear.196Views1like1Comment