0 votes

Hello I am so confused why it does this, I want it to make a plane yet it makes another triangle into another triangle, honestly MY HEAD IS GONNA EXPLODE!

here is a picture : https://pasteall.org/pic/97b4dee1bbb64d4982bee370c1116f24

in the code I am going 3,7,2 and then 2,7,6 that should make a flat plan yet it makes a messed up triangles.

here is the code if I did something wrong in the code please tell me!

code :https://pasteall.org/7Jr2

Godot version 3.2.3
in Engine by (153 points)

1 Answer

0 votes

I used the wrong mesh type, I needed (Mesh.PRIMITIVETRIANGLES) and NOT Primitivetriangle_fan

by (153 points)
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.