#Canvas doesn't support screen space overlay?
1 messages · Page 1 of 1 (latest)
Right now it doesn't, that's correct - that being said you can make a world space canvas and attach it to your camera and control element position by script as a workaround for now
is there any sample script for that?
like maybe the one from your website x)
i know scrollytelling has text that positions on corner
but in the sample, theres no canvas
our website useses HTML/CSS as said here: https://discord.com/channels/717429793926283276/1094920088135684149
oh right
so wait, does that mean that the UI is not even on needle?
uhm is there any sample on adding html/css to the project?
tho maybe ill just try this
you'll find some examples here https://engine.needle.tools/samples
i guess HTML custom layout is the one i need
thank you marcel for your patience with me
xd
so for html things
i have to make a separate web project?
and then add needle build as an element?
because in the html sample
You always have a web project. Everything you built has been a web project (e.g. with the Vite template). You can add your UI/Html there.
It's in the index.html I think
i guess i have to build it for it to show up?
but then wont the index.html be just a regular one?
and also, if text goes in html
the animation will also be different right?
like i wont be able to put the text into timeline director?
So you always have a choice for building UI - either in HTML or in 3D.
Both have pros and cons. If you want your app to work in VR you have to use 3D UI as HTML UIs can't be displayed there.
If you want to use animation from Timeline/Animator: build it in 3D
yeap
thats what im doing now