I`m using react three fiber withg drei and want to use the html component in transfrom mode:
https://drei.pmnd.rs/?path=/story/misc-html--html-transform-st
Unfortunately setting transfrom to true does`nt do anything.
Here is my code:
<Html
transform
distanceFactor={20}
position={[5, -2, 0]}
style={{
width: "50px",
}}
>
<img
src={"assets/img/expand-outline.svg"}
alt="expand"
/>
</Html>
What I basically want to achieve is, that the html component is rotating and transforming according its parent.
Can't find a codepen or somethin similar. Hope you can help me.