Forum Discussion
LNATIONDEV
4 months agoPartner
World Desktop Editor Entity coordinates
Note: I'm an experienced LAMP stack developer but new to horizon OS, VR and 3d rendering in general.
Howdy,
I recently brought a quest 3 and have been playing around with World Desktop Editor. There are a couple of issues I have found I would like to raise.
Firstly I spent about an hour trying to update a simple text gizmo with dynamic text from typescript. The steps I took for this to happen is simple:
- Add text gizmo
- Set the text in the Editor
- Create a script and attach it to the entity
- Implement the relevant code needed
- Start your world trigger the action for the text to change - it never does.
I added logging and restarted the editor several times pulling my hair out, in the end I deleted the text gizmo and created another 'without' setting the text in the editor and made it all dynamic from the script. I shouldn't have needed to do this, it should just work transparently.
Another issue I have found is when you try and group components/entities, it will change the coordinates to be centred around the 'object'. If you then want to manipulate your components from typescript you need to 'calculate' the coords rather than just copying original position and editing that. My hack is to move the component out of the group grab the coords then put it back. It would be nice if you just had a little switch.
As a side note also co-pilot in visual studios sucks at trying to write your scripts, it makes up functionality constantly. I guess there is no easy way of solving that because there is probably not enough open sourced code for it to learn from. It's a flaw in your reinvention of version control where it's centralised on your private servers. You should add a button to optionally publish a project to github.
1 Reply
- Anonymous
This is good feedback! I encourage you to also submit it as feedback in Meta Quest Developer Hub. If you need a breakdown on how it's done, check the documentation here.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 9 months ago
- 6 months ago
- 9 months ago