hoverCursor does not change when hovering child elements

When using mesh.actionManager.recursive = true, the actions fire on child meshes but the cursor will only change when hovering the mouse over the parent mesh. Is there something I’m missing or is this a bug which needs reporting?

Where did you find .recursive ? This is not a property we support in Babylon I believe ?

And by the way, Welcome to the forum !!!

heya! I found it in the docs ActionManager | Babylon.js Documentation following this commit which was exactly the functionality I was after.

For context, I’m looking at converting a three.js complex furniture viewer over to babylon.js and we attach multiple products together in a transform tree to create furniture (e.g. countertop on cabinet, sink on countertop, tap on sink etc) so having the ability to attach events only to the parent would massively simplify things

edit: also my bad, it’s isRecursive, not recursive

Thanks a lot, we ll check ASAP what we can do.

@carolhmj do you want to have a look ?

1 Like

PR is up! Fix pointer hover on descendant controls when action manager is recursive by carolhmj · Pull Request #12637 · BabylonJS/Babylon.js (github.com)

2 Likes

Holy cow that was absurdly fast :joy:

Many thanks!

2 Likes

We are here to serve :smiley:

2 Likes