What does the add 3d video plane block do and how to use?
-
I havenโt found any documentation on how to use this block. How do I put a video plane? I tried to put a YouTube video URL, but this doesnโt work or is confusing. Iโm assuming this just plays a YouTube video (or a video located at any URL) on a plane/flat surface that I could use to make like a working TV -
Yes it is for using video as texture. However, youtube videos are not supported, since it is blocked by CORS of Youtube.
Instead, you can follow these steps to test it:
-
Find or create a mp4 video file (make sure itโs appropriate).
-
Share the file online. One easy way is to use the โMy Filesโ tab in the โMy Stuffโ page: https://play.creaticode.com/mystuff/files
That page allows you to upload a file and copy its public URL.
- Use the videoโs public URL in the video plane block like this:
ย
It will look like this:
ย
-
-
@info-creaticode Ohh ok thanks, but how would I put it at a specific coordinate? Iโve tried this and it didnโt work (because I also tried to put a YT URL) so I just wanna see some example code.
-
For all 3D objects, you can move/rotate them the same way, using the blocks under โ3D Actionโ, like this:
If you have multiple objects, you may need to โselectโ one object as the โsprite objectโ, then the move/rotate blocks will be applied to that object.
See this for more details: https://www.forum.creaticode.com/topic/16/names-and-sprite-objects
-
@info-creaticode hm ok, thank you for the clarification!