0 votes

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)))
Godot version 3.2.2
in Engine by (254 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.