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 ?
Holy cow that was absurdly fast
Many thanks!
We are here to serve