What is the difference between attachedMesh and attachedNode?

I read the gizmo _update method,it seems like no different.

Hello! It seems like initially there was only support for meshes, then support for nodes was added later, but the attachedMesh property is kept for back-compatibility. Gizmo Node support by CedricGuillemet · Pull Request #8540 · BabylonJS/Babylon.js (github.com) :slight_smile:
@RaananW should we mark attachedMesh as deprecated so we can move it into LTS later? :thinking:

2 Likes

I agree that mark attachedMesh as deprecated.On the other hand,attachedMesh and attachedNode are different.


We had better review the code with attachedMesh prop. :smile:

That is a good catch :slight_smile:

1 Like

I remenber that there are more than one place should fix.Or we can global lookup this.
Thanks for your hard work.