No updateWorldMatrix() in Object3D document.
It is an undocumented feature I added to replace a method that does not work correctly.
Is it intentionally undocumented or just an oversight?
It was intentional on my part.
@WestLangley Is there a plan to change the behavior of the documented function or to add this one to the docs in the future? I'm using the function for my work now to make sure just a specific node in a deep hierarchy is up to date.
@gkjohnson To be honest, I have been trying to get updateMatrixWorld() replaced since at least 2015 -- likely longer than that.
updateMatrixWorld() does not do what its name implies. It also updates children -- needlessly in many cases -- and isn't even guaranteed to do that correctly.
I believe updateWorldMatrix() should be the method that replaces it.
If you are interested, you can help by supporting #16292 as a start.
By the way, this was fixed with #17109
Most helpful comment
@gkjohnson To be honest, I have been trying to get
updateMatrixWorld()replaced since at least 2015 -- likely longer than that.updateMatrixWorld()does not do what its name implies. It also updates children -- needlessly in many cases -- and isn't even guaranteed to do that correctly.I believe
updateWorldMatrix()should be the method that replaces it.If you are interested, you can help by supporting #16292 as a start.