Hi, it seems working with translate()
does not work as in previous versions.
The level should be centered in viewport: Babylon.js Playground
Hi, it seems working with translate()
does not work as in previous versions.
The level should be centered in viewport: Babylon.js Playground
It seems that forcing the world matrix to be recomputed before calling translate() fixes the issue for a workaround (line 77). It might be related to a recent change made to when the world matrix is recomputed. CC @Deltakosh
@carolhmj could you have a look ? I wonder if it is related to the last fix of the optim ?
This is highly possible.
And I would say this is expected as the changes are happening within the same frame
Setting AbstractMesh.scaling
does not mark the object as dirty as TransformNode.scaling
would do.
The solution is to call rock.markAsDirty();
.
This looks like a bug to me.
I am not sure why abstract mesh would prevent the dirty flag to be set. @Deltakosh any good reason the override the TransformNode scaling with one which does not flag as dirty ?
This is TOTALLY a miss!
Hey BJS team, thank you for your work. I am happy with version 5.8.0 which ships with the fix.