Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Bot7 |
I created a multimesh with 48x48 cylinders for a better performance but when I rund the game the cylinders are right next to each other but I want that there is an tiny gap between the cylinders. How can I solve this Problem?
I copied this code from a youtube tutorial:
func _ready():
for x in range(48):
for z in range(48):
self.multimesh.set_instance_transform(z * 20 + x, Transform(Basis(), Vector3(x, 0.0, -z)))