Hi Everyone,
I am loading a mesh with SceneLoader.ImportMesh, and changing the scalingDeterminant in call back function. But scaling not effecting until i change the position of mesh ( using gizmo ex. ). At first mesh is rendering original scale. Later, when try to move it, then scalingDeterminant starting to effect and mesh correctly rendering.
SceneLoader.ImportMesh([“Cube”], “./”, “test.babylon”, this._scene, (meshes, particleSystems, skeletons) => {
// do something with the meshes and skeletons
// particleSystems are always null for glTF assets
meshes[0].scalingDeterminant = 0.01;
});
I couldn’t find out why yet, anyone knows how to refresh it immmiately or why?