Open robnewton opened 7 years ago
Excellent thank you. Can you paste the lines here that you were passing in the developer console? Can't read them in the gif
It's just calls to methods in Overlay.cs, following the CefSharp conversion of lower-camelcase so the first letter is always lower-case
Oh, I see. Thanks a lot
Looks like this isn't working when position is attached to a controller. Any rotation applied causes the overlay to disappear. I tried the 45 degree rotation you use in you gif example and it's the same effect. If I change to absolute positioned overlay, then rotate works fine however. Appears to be related to controller attachment only.
I didn't thoroughly test controllers so it's possible. Worth noting that if you face it away from you, it simply won't render as it'll be backface culled
OK I'll dig into fixing
I am having a hard time getting the rotation and position of an in-game overlay. It would be very helpful to adjust that at runtime with some HTML5 range sliders through a JS callback. Can you point me in the right direction for how to update the position of the overlay at runtime? I can handle all of the connector stuff to get it working in the HTML/JS overlay.