Not especially linked but I think the hoverCursor might not work properly with Rectangle. In this playground, the pointer cursor is only visible when you click on the Rectangle: https://www.babylonjs-playground.com/#XCPP9Y#887
Not a bug but to define the cursor, you have to block the scene from catching the pointer: https://www.babylonjs-playground.com/#XCPP9Y#888 (Would you be kind enough to update the doc regarding that info? Thanks a lot)
No problem @Deltakosh.
But how do you block the scene from catching the pointer? Is it link to the onPointerObservable scene’s property?
Speaking of the doc I noticed the setTarget function doesn’t appear in targetCamera doc class (TargetCamera - Babylon.js Documentation). I see the function is set hidden here: Babylon.js/targetCamera.ts at master · BabylonJS/Babylon.js · GitHub
I was wondering why because it misled me as I need to use that function with different camera types (universal and deviceorientation both extending targetcamera) and I thought it wasn’t possible?
You put da line in da rectangle… drink 'em both together.
Put da line in da rectangle… then you feel better.
Put da line in da rectangle… drink 'em both up.
Put da line in da rectangle… called the boss-man… woke him up… he say…
Delta… ain’t there nothin’ I can fake… he say…
Delta… to align the thing I make… he say…
Delta… (etc)
Couldn’t resist, sorry. I’ll probably delete this tomorrow… because… you know… this is a rather obscure attempt at comedy. Interesting fact: Lime in the Coconut is one of the VERY FEW one-chord hit songs. The artist/song was SO SUCCESSFUL, that he decided to try ANOTHER one-chord song. This time… lasting for 7 minutes! It was also a hit.
I, too, am having problems with lines in a rectangle. They are bent, just like my view of life. hmm.
See my failed custom observer in lines 410-416? It seems difficult to bind line 415 (notifyObservers) to actual camera.radius value.
Hey, it’s my first-ever custom observer attempt… and I’m trying to install it on a core node (camera). I think I am pushing the limits of custom observing… and may need to modify a camera input to get the notify installed correctly. Weird.
line 411 - WHAT IF: camera.onRadiusChange = new BABYLON.Observable(camera.radius); and after that, no need for a notifyObservers() line at all? heh. Speculating and dreaming… thinking.
How DOES a guy put a custom observer on an arcCam radius? Possible? Need a PHD in observing? Thoughts, anyone? (thx)