mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-03 05:48:42 +03:00
Merge branch 'master' into 3.2
This commit is contained in:
@@ -91,7 +91,7 @@ efficient for millions of objects, but for a few thousands, GDScript should be f
|
||||
// Set the transform of the instances.
|
||||
for (int i = 0; i < multimesh.VisibleInstanceCount; i++)
|
||||
{
|
||||
multimesh.SetInstanceTransform(i, new Transform(new Basis(), new Vector3(i * 20, 0, 0)));
|
||||
multimesh.SetInstanceTransform(i, new Transform(Basis.Identity, new Vector3(i * 20, 0, 0)));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user