添加平面
-
预备知识
介绍
一个平面是一个很简单的长方形。它甚至比盒子还要简单,因为平面是二维的。也就是说,平面没有任何的厚度。所以,平面可以用来代表我们周围纤薄的长方形物体,比如平地,墙面上的一张照片等等。
”添加平面“编程积木
平面是二维物体,所以你只需要指定他们在X和Y维度的大小即可。
https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/da235b92-4653-4d6a-9a7e-7ad6f896e2f3.png" width="560" style="">
平面的面向方向
默认情况下,一个平面将会在被添加时面向上方(Z方向的正数)。平面的一个特点是它们的背面在默认情况下是透明的。
https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/5724221c-9859-4e7f-a0d3-37bac71a9d55.gif" width="800" style="">
这个特点让你在使用平面作为平地时特别好用,因为当你的摄像头处于平面的下方时,你可以看透它。
虽然如此,如果你不希望平面的背面是透明的,你可以使用材料设置编程积木来确保平面的背面被画出来。
https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/dc345501-3f07-4351-9983-37db7dce4b97.gif" width="800" style="">
平面的位置和旋转
虽然平面是二维的,你依然可以在三维空间里把他们移动到不同位置或旋转到不同方向。你可以利用小工具来尝试移动或旋转平面,就如下图所示:
https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/875bb5bb-70a4-4a39-860e-febb1d1c2cb9.gif" width="500" style="">
-
I CreatiCode pinned this topic on
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login